Author Topic

Bård Farstad

Friday 20 August 2004 4:54:48 am

Comment41315

Lazaro,

you can set the pagelayout you want to have for the module by defining the following then you return the module result:

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

The template for pagelayout must not be under your module. It needs to be in templates/my_nice_pagelayout.tpl. This can be put in a design extension if you like.

You can have a look at the code for kernel/layout/set.php, this does change the pagelayout file.

--bård

Documentation: http://ez.no/doc