Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2005
    Posts
    92
    Plugin Contributions
    0

    Default move main page text below categories

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

    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?

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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:
    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:
    Code:
    <!-- EOF: Display grid of available sub-categories -->
    Last edited by Ajeh; 5 May 2010 at 08:47 PM. Reason: fix filename to tpl_index_categories.php
    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: v1.5.5]
    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!

  3. #3
    Join Date
    Mar 2005
    Posts
    92
    Plugin Contributions
    0

    Default 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.

  4. #4
    Join Date
    Mar 2005
    Posts
    92
    Plugin Contributions
    0

    Default 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. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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: v1.5.5]
    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!

 

 

Similar Threads

  1. Move text to the bottom of main page
    By jisul in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 8 Oct 2011, 03:44 AM
  2. Move Define Page Text to bottom of page, below centerboxes
    By AirsoftOutfitter in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 19 Jul 2011, 02:13 AM
  3. How do I move main page text?
    By brighteyedbambam in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 15 Jul 2009, 03:46 PM
  4. Remove categories text on main page in the centre
    By kiddykool1 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Jan 2008, 11:51 PM
  5. Main Page Text showing up in Categories
    By iWebGeek in forum General Questions
    Replies: 5
    Last Post: 17 Jan 2007, 06:01 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR