Forums / Developer / Module Pagelayout / Comment59140

Author Topic

Gaetano Giunta

Tuesday 18 May 2010 5:17:10 am

Comment59140

The override you set up is used globally, as there is no 'criteria' that tells eZ when it has to be applied.

If you want to change the pagelayout used in an ezp module/view, you can use the override conditions defined here: http://ez.no/doc/ez_publish/technical_manual/4_x/reference/template_override_conditions

If it's a custom view, you can define the pagelayout used in $Results, eg:

$Result['pagelayout'] = 'xml_pagelayout.tpl';

Principal Consultant International Business
Member of the Community Project Board