Hello,
I've just installed osCommerce 2.3 - hmm, a bit different to the previous edition...!
I would like the Advanced Search to be a clickable button (like the Search button) linking to the Advanced Search page, rather than text linking to the Advanced Search page.
Can anyone help with how this could this done?
Latest News: (loading..)
Have "Advanced Search" as a button (osCommerce 2.3)
Started by Almirena, Feb 08 2012, 06:12
2 replies to this topic
#1
Posted 08 February 2012, 06:12
#3
Posted 08 February 2012, 16:02
Sorry Ingrid I re-read your post, I thought you were asking how to make the search do an advanced search rather then a basic search.
So you just want to change the text displayed to an actual UI Widget Button?
If so this should do it..
tep_draw_button(IMAGE_BUTTON_ADVANCED_SEARCH, 'triangle-1-e', tep_href_link(FILENAME_ADVANCED_SEARCH))
In catalog/includes/modules/boxes/bm_search.php
Find:
Then add the language definition to the apropriate languages you use:
For example
catalog/includes/langues/english.php
Add before the final ?>
So you just want to change the text displayed to an actual UI Widget Button?
If so this should do it..
tep_draw_button(IMAGE_BUTTON_ADVANCED_SEARCH, 'triangle-1-e', tep_href_link(FILENAME_ADVANCED_SEARCH))
In catalog/includes/modules/boxes/bm_search.php
Find:
'<br /><a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '"><strong>' . MODULE_BOXES_SEARCH_BOX_ADVANCED_SEARCH . '</strong></a>' .Replace with:
'<br />' . tep_draw_button(IMAGE_BUTTON_ADVANCED_SEARCH, 'triangle-1-e', tep_href_link(FILENAME_ADVANCED_SEARCH)) .
Then add the language definition to the apropriate languages you use:
For example
catalog/includes/langues/english.php
Add before the final ?>
define('IMAGE_BUTTON_ADVANCED_SEARCH', 'Advanced Search');














