How to match on a search in override.ini?

Author Message

Niels Ganser

Thursday 08 June 2006 11:10:34 pm

Hello world,

is there any way to match on the search action in override.ini? Class_identifier, node and the like won't work as search is a "system function". What I try to achieve is to override is a sidebar template which gets included into the pagelayout. (I.e. on search it should display advanced search options whereas on every other page it displays child items).

Cheers,
Niels

Kristof Coomans

Thursday 08 June 2006 11:24:33 pm

Hi Niels

Welcome to the eZ community!

I don't think it's possible to do that with template overrides because of the lack of module/view design keys.

I would use the module_params template operator to see which module/view has been run ( http://ez.no/doc/ez_publish/technical_manual/3_8/reference/template_operators/data_and_information_extraction/module_params ).

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

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