Override pagelayout.tpl for the search result page?

Author Message

Juan Camilo

Friday 28 April 2006 2:59:48 pm

Hallo people, I need the to override pagelayout.tpl when the url to be loaded is <<site>>content/search by modifying override.ini.append.php but I don't know yet what condition I must specify. Should it be something like this?

[search_results]
...
Match[class_identifier]=search

Nabil Alimi

Wednesday 03 May 2006 3:04:23 am

Hi Johannes,

I suggest that you use the layout module to define which template you want to use.

First you'll need to add a rule in your design.ini and create the corresponding template.
Take a look at this :
http://ez.no/doc/ez_publish/technical_manual/3_7/reference/modules/layout

With this, you can somehow override the pagelayout on purpose.

layout/set/custom_search_view/content/advancedsearch/?foo=&bar=....

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.