View Full Version : modifying templates
bwalton
18-Dec-2002, 01:56 PM
Hi
Can anybody assist, I have nearly completed an update to my site, fonts, colours etc but would like to change a couple of buttons (colour mainly) they both relate to the search area, one is the "Go" button and the other the "Search" button.
Can anybody point me in the right direction of finding on which template they can be found and edited.
Thanking you in anticipation.
garyhay
18-Dec-2002, 03:01 PM
search.gif and search1.gif in site1 folder if you have custom buttons you will also find the go button there,
Just replace these with your own buttons.
bwalton
18-Dec-2002, 03:04 PM
Thanks Gary, thought I must be missing the obvious.
bwalton
20-Dec-2002, 10:08 AM
Hi again
Unfortunately I am still having trouble finding the template/graphic file for the "Go" and "search" buttons when I go into the search screen, the files Gary suggested relate to the search buttons within the section listings.
Can anyone else shed light on these two buttons.
regards
Brian
garyhay
20-Dec-2002, 12:23 PM
Act_SearchTemplate.html has the code for the search page. I am sure that the buttons need to be hard coded into a script in the same manner as the "checkout now" and "confirm" buttons but I cant help tell in what script there are located.
bwalton
20-Dec-2002, 12:47 PM
Hi gary
thanks for help, I am beginning to think that they must be hard coded, but it does not make much sense if yiu can change all other text etc.
Perhaps Chris can shed some light on it.
Regards
Brian
cdicken
23-Dec-2002, 08:28 AM
The 'Go' button for the simple search tool is coded in Act_SimpleSearch.html. The filename for this image will either be 'go_button.gif' or 'quicksearch.gif'.
The 'Search' button can be found in Act_SearchTemplate.html. This is generally by default a grey button rather than a button image, but you could change the line:
<input type=SUBMIT name=ACTION value="NETQUOTEVAR:SEARCHLABEL">
to something like
<input type=IMAGE name=ACTION src="search.gif">
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.