The simple search page consists of 3 templates: content/search.tpl, content/searchresult.tpl and node/view/search.tpl.
content/search.tpl contains the text fields, the search button, etc.
content/searchresult.tpl manages the search results and sends parameters to the google navigator
node/view/search.tpl is the viewmode used for the actual objects being displayed (like node/view/line.tpl). It's called like {node_view_gui view=search content_node=....}. So to control what's displayed for each object found, you need to override the node/view/search.tpl for an object's class.
many thanks for your prompt reply it worked out a treat. I simply copied the original template override, created a new blank override for the (correct) search template and pasted. The only bit I didn't quite understand was having to remove the table tags but I assume this template is called similar to a subroutine from the searchresult.tpl file.
thanks again you have saved hours of trial and error.
You must be logged in to post messages in this topic!