Forums / Addon Templates / advanced search in estorenow

advanced search in estorenow

Views: 1,674

Results 1 to 6 of 6
14 Oct 2010, 1:21 PM
#1
ms_x avatar

ms_x

Zen Follower

Join Date:
Mar 2010
Posts:
196
Plugin Contributions:
0

advanced search in estorenow

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...

14 Oct 2010, 1:31 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: advanced search in estorenow

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.

14 Oct 2010, 2:25 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: advanced search in estorenow

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.

14 Oct 2010, 3:23 PM
#5
ms_x avatar

ms_x

Zen Follower

Join Date:
Mar 2010
Posts:
196
Plugin Contributions:
0

Re: advanced search in estorenow

thanks a lot:smile:it is all good now

5 Jan 2011, 3:28 AM
#6
customgiftsshoppe avatar

customgiftsshoppe

New Zenner

Join Date:
May 2010
Posts:
16
Plugin Contributions:
0

Re: advanced search in estorenow

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.

Custom Gift Shoppe
Mistik Games
Teach a man to fish and he'll eat for the rest of his life.