Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15
  1. #11
    Join Date
    Aug 2006
    Location
    portlandish, oregon
    Posts
    799
    Plugin Contributions
    0

    Default Re: Category list on main page

    Ahhh...the column grid layout one. I will check that.

    Thanks!

  2. #12
    Join Date
    Aug 2006
    Location
    portlandish, oregon
    Posts
    799
    Plugin Contributions
    0

    Default Re: Category list on main page

    ok I updated my add on (column grid layout) but the subcategories are still not showing. I am not sure where to even start to compare coding.

  3. #13
    Join Date
    Aug 2006
    Location
    portlandish, oregon
    Posts
    799
    Plugin Contributions
    0

    Default Re: Category list on main page

    OK I FINALLY figured things out. Actually I accomplished two things I was wanting, and now I don't need this to display BUT what was wrong was in the MY TEMPLATE/template/tpl_index_categories...the code to allow subcategories to display was commented out so it looked like this:

    <!-- BOF: Display grid of available sub-categories, if any -->
    <?php
    /**
    * require the code to display the sub-categories-grid, if any exist

    require($template->get_template_dir('tpl_modules_category_row.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_category_row.php');
    */?>
    <!-- EOF: Display grid of available sub-categories -->
    so I changed it to look like this instead:
    <!-- BOF: Display grid of available sub-categories, if any -->
    <?php
    /**
    * require the code to display the sub-categories-grid, if any exist*/

    require($template->get_template_dir('tpl_modules_category_row.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_category_row.php');
    ?>
    <!-- EOF: Display grid of available sub-categories -->
    Basically, instead of having the entire code commented out, I only commented out the description.

    But as soon as I figured that out, I also figured out how to get my categories to always be uncollapsed to show the subcategories. So now I don't need this do display now. Go figure

  4. #14
    Join Date
    Aug 2006
    Location
    portlandish, oregon
    Posts
    799
    Plugin Contributions
    0

    Default Re: Category list on main page

    Hmmm. ok so looks like I can't get the admin options to apply.

    I set Show SubCategories on Main Page while navigating =0

    But, it still shows subcategories on main page. So it seems the only way for me to turn this off is by commenting out the code...

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

    Default Re: Category list on main page

    This code should be in the tpl_index_categories.php
    PHP Code:
    <?php
      
    if (PRODUCT_LIST_CATEGORY_ROW_STATUS == 0) {
        
    // do nothing
      
    } else {
        
    // display subcategories
    /**
     * require the code to display the sub-categories-grid, if any exist
     */
       
    require($template->get_template_dir('tpl_modules_category_row.php',DIR_WS_TEMPLATE$current_page_base,'templates'). '/tpl_modules_category_row.php');
      }
    ?>
    If not, your template is missing code or out of date ...
    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!

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Help Remove catagories off main page, but list subcatagories of main page
    By MadPricerSales in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 26 Mar 2010, 04:14 AM
  2. Feature products on category main page, but not on main home page
    By gems14k in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 17 Sep 2009, 03:47 PM
  3. How to disable the category list box from main page..?
    By user2345 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 25 May 2008, 05:13 PM

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