Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / New products, Specials, Upcoming Etc center Boxes above homepage text?

New products, Specials, Upcoming Etc center Boxes above homepage text?

Locked

Started by cal on 6 Aug 2007, 11:08 AM · Views: 1,659

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
6 Aug 2007, 11:08 AM
#1
cal avatar

cal

New Zenner

Join Date:
Feb 2006
Posts:
54
Plugin Contributions:
0

Post #1 by cal

Hi

I need to make the center boxes on the homepage appear above the text input from the define main page text.

Any ideas?

Cheers

Cal

That Thou Art

6 Aug 2007, 3:57 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #2 by ajeh

You would need to look at the tpl_ files and rearrange them so the description is below the Centerboxes ...

For example in the tpl_index_default.php

<?php if (DEFINE_MAIN_PAGE_STATUS >= 1 and DEFINE_MAIN_PAGE_STATUS <= 2) { ?>
<?php
/**
 * get the Define Main Page Text
 */
?>
<div id="indexDefaultMainContent" class="content"><?php require($define_page); ?></div>
<?php } ?>

that would need to be moved ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

21 Aug 2007, 11:40 AM
#3
cal avatar

cal

New Zenner

Join Date:
Feb 2006
Posts:
54
Plugin Contributions:
0

Post #3 by cal

Hi Ajeh

Thanks for the reply.

When i cut the code that you suggested from the tpl_index_default.php file and added it to the foot of the page above the next/revioys and below upand coming products the text that i then input into define_mian-page.php i the admin section was output in quadriplate, i.e. repeated four times.

Any ideas?

Cal

That Thou Art

21 Aug 2007, 12:00 PM
#4
cal avatar

cal

New Zenner

Join Date:
Feb 2006
Posts:
54
Plugin Contributions:
0

Post #4 by cal

Hi Ajeh

I've worked it out. You just cut the code that you specified which is this:

<?php if (DEFINE_MAIN_PAGE_STATUS >= 1 and DEFINE_MAIN_PAGE_STATUS <= 2) { ?> <?php /** * get the Define Main Page Text */ ?> <div id="indexDefaultMainContent" class="content"><?php require($define_page); ?></div> <?php } ?>

and paste it above the closing </div> at the very end of the tpl_index_default.php file and voila.

Cheers for your help.

Cal

That Thou Art

22 Aug 2007, 2:35 AM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #5 by ajeh

Thanks for the specifics on what worked for you ... :smile:

Ain't those little loopy guys fun to work with?! :lamo:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!