Thanks Tim. I'm new to zencart and I'm not sure if I'm doing it correctly.
In includes/templates/mysite/common/tpl_main_page.php I have:
PHP Code:
if( $current_page_base == 'index' && isset($_GET['cat']) )
require(DIR_WS_TEMPLATE . "templates/tpl_category.php");
else if( file_exists(DIR_WS_TEMPLATE . "templates/tpl_$current_page_base.php") )
require(DIR_WS_TEMPLATE . "templates/tpl_$current_page_base.php");
else
require(DIR_WS_TEMPLATE . "templates/tpl_not_found.php");
My search forms all have
Code:
action="index.php?main_page=advanced_search_result"
but when no keyword is entered in the text field zencart redirects to index.php?main_page=advanced_search.php
Is this the information you're after?