Forums / Setup & design / How to override admin pagelayout.tpl for my extension only?

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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