Hey...
I took the basic Advanced Search Template and basically copied it to define_main_page.php, changing a bit of the code.
It works 100%, but I can't figure out why the 'Include Subcategories' is UNchecked, unlike my Advanced Search page which uses the Advanced Search Tpl and other related files.
<?php echo zen_draw_checkbox_field('inc_subcat', '1', $sData['inc_subcat'], 'id="inc-subcat"'); ?>
This is the code, and on the Advanced Search page, generates HTML with
checked="checked" as part of the output.
On my main page, this is missing. I tried this:
<?php echo zen_draw_checkbox_field('inc_subcat', '1', $sData['inc_subcat'], 'checked="checked" id="inc-subcat"'); ?>
but still no luck. What am I not understanding?
Any help would be greatly appreciated.
PS....I was confused..it was the 'Search Item Descriptions box that was unchecked...the check subcategories box is checked, as it is on the Advanced Search page. Let me see if that makes any difference.



Reply With Quote
