Forums / General / Search Result View
Mazin Mustafa
Monday 14 March 2005 7:26:13 am
Search results take over the whole screen. Where is the best place to control (CSS) how the results are displayed? I searched the site but didn't see a hint. I found content/search.tpl and node/search .tpl. Is there a view used for the results? How is it tied in ? My screen is a simple CSS controlled 3 column layout. search results just break the whole thing and I would like to contrain them to the maincontent area.
Thanks and regards,Mazin
Ćukasz Serwatka
Monday 14 March 2005 10:36:32 pm
Hi,
You can override /content/search.tpl to change search results view.
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog
Tuesday 15 March 2005 7:48:42 am
Thank you for the reply. I had already tried your suggestion as my initial posting indicates. I am using version 3.4.0. I tried using a minimal search.tpl override template with a singe <h1> blah blah </h1> in it. The view still want the whole screen.
I see the same behavior in the /user templates such as login.
Thanks again and hope we can get an answer soon.
Mazin
Wednesday 16 March 2005 9:43:42 am
Ok, I figured it out as it was my bad after all. It turns out that I had nested some css inside a section block of code. The search path caused the css inside the section to be skipped. Hence, my formatting was broken.
Script start
Module start 'content'
Module end 'content'
Script end
Time used to render debug report: 0.0002 secs