Page 1 of 1

[SOLVED] Newbie-Trying to Style Search Module

Posted: Tue Aug 09, 2011 8:31 pm
by RyanC
Hi, could someone point out to me how I can edit the output of the search module?

For example I would like to not have the word "Search" be fore the actual search field. It is redundant for what I am doing. I've opened the Search Template but I only know HTML and CSS, I can't understand what I'm looking at in the Search Template or the Search Results Template.

Second in the search results how do I remove the amount of time it took to conduct the search? I don't need that information on the page.

Thanks for any help

Re: Newbie-Trying to Style Search Module

Posted: Tue Aug 09, 2011 8:51 pm
by uniqu3
Go to Extensions -> Modules -> Search

There you can edit Search form and result templates.

Word search is in Search template:

Code: Select all

<label for="{$search_actionid}searchinput">{$searchprompt}:&nbsp;</label>
Timetaken is in Search results template:

Code: Select all

<p>{$timetaken}: {$timetook}</p>

Re: Newbie-Trying to Style Search Module

Posted: Wed Aug 10, 2011 6:30 pm
by RyanC
Thanks very much, uniqu3. That worked out great.