How to override admin pagelayout.tpl for my extension only?

Author Message

Rainer Krauss

Tuesday 18 August 2009 3:01:26 am

Dear all,

we wrote an extension that's getting used in the admin siteaccess of our installation. Now I'm to alter the layout: the content area is not wide enough for the content to display properly.
How could I give the content area in the standard ezflow site admin design more space? - is making an override for the admin pagelayout, that does not include the navigation bars left and right, a good solution?
If so, how may I override the pagelayout.tpl for my extension only?

Thanks in advance for your reply!

Best wishes,
Rainer

Rainer Krauss

Tuesday 18 August 2009 3:32:42 am

Thanks to a workmate for explaining.

To override pagelayout.tpl for a custom extension, just add something like

$Result['pagelayout'] = 'design:pagelayout_abo.tpl';

to the extensions' overview.php file.

Best,
Rainer

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