Ahhh...the column grid layout one. I will check that.
Thanks!
Ahhh...the column grid layout one. I will check that.
Thanks!
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.
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:
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.<!-- 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 -->
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
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...
This code should be in the tpl_index_categories.php
If not, your template is missing code or out of date ...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');
}
?>
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!
Bookmarks