Forums / Templates, Stylesheets, Page Layout / move main page text below categories

move main page text below categories

Locked

Views: 1,074

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
4 May 2010, 5:35 PM
#1
tracyselena avatar

tracyselena

New Zenner

Join Date:
Mar 2005
Posts:
86
Plugin Contributions:
0

move main page text below categories

Hi, I want to move the main page text below the categories on my site:

https://www.coffeetree.ca

I'm using 1.3.7
and i've already tried moving the code around in the includes/templates/templatename/templates/tpl_index_default.php file..but it doesn't seem to do anything.

how do i switch the order of these?

5 May 2010, 12:36 AM
#2
ajeh avatar

ajeh

Oba-san

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

Re: move main page text below categories

Using your templates and overrides ... copy the file:
/includes/templates/template_default/templates/tpl_index_categories.php

to your templates and overrides directory ...

Then, move this code:

<?php
if (PRODUCT_LIST_CATEGORIES_IMAGE_STATUS_TOP == 'true') {
// categories_image
  if ($categories_image = zen_get_categories_image($current_category_id)) {
?>
<div id="categoryImgListing" class="categoryImg"><?php echo zen_image(DIR_WS_IMAGES . $categories_image, '', SUBCATEGORY_IMAGE_TOP_WIDTH, SUBCATEGORY_IMAGE_TOP_HEIGHT); ?></div>
<?php
  }
} // categories_image
?>

below the line:

<!-- EOF: Display grid of available sub-categories -->

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!

5 May 2010, 7:12 PM
#3
tracyselena avatar

tracyselena

New Zenner

Join Date:
Mar 2005
Posts:
86
Plugin Contributions:
0

Re: move main page text below categories

Hi Linda, I tried that...it didn't make a difference at all...actually any change I make to that file doesn't make a difference at all..so I'm a little confused.

I even tried removing the entire file and uploading a blank copy of it and my site remained the same..

I must be missing something unrelated

I also tried pasting this:

<?php if (PRODUCT_LIST_CATEGORIES_IMAGE_STATUS_TOP == 'true') { // categories_image if ($categories_image = zen_get_categories_image($current_category_id)) { ?> <div id="categoryImgListing" class="categoryImg"><?php echo zen_image(DIR_WS_IMAGES . $categories_image, '', SUBCATEGORY_IMAGE_TOP_WIDTH, SUBCATEGORY_IMAGE_TOP_HEIGHT); ?></div> <?php } } // categories_image ?>

after this:

<!-- deprecated - to use - uncomment <?php if (TEXT_INFORMATION) { ?> <div id="" class="content"><?php echo TEXT_INFORMATION; ?></div> <?php } ?>-->

cause it made more sense to me...but I did try your suggestion as well.

5 May 2010, 7:13 PM
#4
tracyselena avatar

tracyselena

New Zenner

Join Date:
Mar 2005
Posts:
86
Plugin Contributions:
0

Re: move main page text below categories

Sorry I just re-read your post and you had suggested to edit the

/includes/templates/template_default/templates/tpl_index_categories_row.php

file, but I don't have that file on my server in my template_default directory.

?
tracy

5 May 2010, 7:48 PM
#5
ajeh avatar

ajeh

Oba-san

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

Re: move main page text below categories

Sorry, wrote the wrong filename:
tpl_index_categories.php

Be sure you are putting it in your templates and overrides directory ...
/includes/templates/your_template_dir/templates/tpl_index_categories_row.php

And check if you already have one there as that is why your changes would not show ...

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!