catech Posted February 21, 2006 Posted February 21, 2006 Hi, I want the basic search box to search within descriptions. Is this possible, and if so how would I do it? James
ddp Posted February 21, 2006 Posted February 21, 2006 Hi, I want the basic search box to search within descriptions. Is this possible, and if so how would I do it? James I would also like to be able to do this. I am sure it must be a fairly simple mod. Backup before making changes. Backup before making changes! Backup before making changes!! You did do a backup? eh?
boxtel Posted February 21, 2006 Posted February 21, 2006 I would also like to be able to do this. I am sure it must be a fairly simple mod. you add the hidden field which triggers that to the form on that infobox: echo tep_draw_hidden_field('search_in_description','1'); Treasurer MFC
ddp Posted February 21, 2006 Posted February 21, 2006 you add the hidden field which triggers that to the form on that infobox: echo tep_draw_hidden_field('search_in_description','1'); Is this added to the catalog/includes/search.php file? Thanks in advance. Backup before making changes. Backup before making changes! Backup before making changes!! You did do a backup? eh?
boxtel Posted February 21, 2006 Posted February 21, 2006 Is this added to the catalog/includes/search.php file? Thanks in advance. no, to catalog/includes/boxes/search.php find: tep_hide_session_id() replace with: tep_hide_session_id() . tep_draw_hidden_field('search_in_description','1') Treasurer MFC
ddp Posted February 23, 2006 Posted February 23, 2006 Many thanks. Worked like a charm. Backup before making changes. Backup before making changes! Backup before making changes!! You did do a backup? eh?
catech Posted February 23, 2006 Author Posted February 23, 2006 Many Thanks, Just what I wanted. only a few more things to work out then I'll go live :D
Recommended Posts
Archived
This topic is now archived and is closed to further replies.