Forums / Setup & design / Override pagelayout for extension

Override pagelayout for extension

Author Message

Claudia Kosny

Friday 24 November 2006 4:32:07 am

Hi there

I want to override the pagelayout for all views within a certain extension.

I don't want to use the layout/set/... functionality as this can cause quite a mess with the links.

I read once that you could set some keys in the module.php to use in the override.ini but I could not find this again.

Does anyone know a way how to do that?

EDIT:
found it: http://ez.no/community/forum/general/override_a_page_layout_in_a_module_section/re_override_a_page_layout_in_a_module_section__1
/EDIT

Claudia

Jacobo Quiles

Thursday 30 November 2006 2:04:34 am

Hi Claudia, i am not sure if i misundrestood your question but i think it's a typical override for the pagelayout template.

Just create an override of pagelayout in your extension/yourextensionname/design/yourdesignname/templates

No need to create an override if you respect the path structure and the filename.

Cheers.

Microblau SL
http://www.microblau.net

Claudia Kosny

Thursday 30 November 2006 2:27:46 am

Hi Jacobo

No, this way the pagelayout would be overwritten for the entire siteacess where the extension is activated. I just wanted to have it for certain views with my extension. As these views are not related to a node or a section I would not know how to do it with the existing override conditions.

But using setkeys as described in the linked article I can specify the condition that the override.ini looks for, so this works great.

Have a nice day

Claudia