How can i get rid of such criteria in advanced search like "search by date added"? I tried to delete some code from advanced_serch.php in English folder,but it was not enough,I do not remember in which file there are definitions for these fields...
How can i get rid of such criteria in advanced search like "search by date added"? I tried to delete some code from advanced_serch.php in English folder,but it was not enough,I do not remember in which file there are definitions for these fields...
You've asked several questions about a template most of us have never used. We'll really need to see the site to offer advice.
Also, spelling out exactly what you want to remove from the advanced search page will help us focus on the solution.
thank u for your reply,here is demo:
http://demo.blingthemes.com/estoreno...cat=0&sort=20a
i want to get rid of "Search by Date Added"
Open includes/templates/template_default/templates/tpl_advanced_search_default.php and remove these lines:
<fieldset class="floatingBox forward">
<legend><?php echo ENTRY_DATE_RANGE; ?></legend>
<fieldset class="floatLeft">
<legend><?php echo ENTRY_DATE_FROM; ?></legend>
<?php echo zen_draw_input_field('dfrom', $sData['dfrom'], 'onfocus="RemoveFormatString(this, \'' . DOB_FORMAT_STRING . '\')"'); ?>
</fieldset>
<fieldset class="floatLeft">
<legend><?php echo ENTRY_DATE_TO; ?></legend>
<?php echo zen_draw_input_field('dto', $sData['dto'], 'onfocus="RemoveFormatString(this, \'' . DOB_FORMAT_STRING . '\')"'); ?>
</fieldset>
</fieldset>
then save the file to includes/templates/estorenow/templates.
thanks a lotit is all good now
Hi all,
Having problems with the search function and need help in fixing it.
I try to do a search and this comes up -
1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' , , cd.categories_description, cd.categories_id, c.parent_id from zen_categori' at line 1
in:
[SELECT DISTINCT c.categories_image, cd.categories_name, , , , cd.categories_description, cd.categories_id, c.parent_id from zen_categories_description cd, zen_categories c where cd.categories_id = c.categories_id and cd.language_id = '1' AND ((cd.categories_name LIKE '%drill%' OR cd.categories_description LIKE '%drill%') and (cd.categories_name LIKE '%bits%' OR cd.categories_description LIKE '%bits%') ) order by cd.categories_name]
Please help.
Thanks.