Tuesday 18 May 2010 5:05:45 am
Hello, I have made an extension that calls a template file and it works correctly. I am using colorbox to call my extension like this: /extension/node_id. The colorbox works fine and the template is loading, but I just want the template to load, not the pagelayout itself. I tried to search for it and also looked at kernel/content/view.php but didn't really see how I could affect the pagelayout. First I tried an override in /siteaccess/page_site in override.ini.append.php with this: [extension_name] Source=pagelayout.tpl MatchFile=extension_name_pagelayout.tpl Subdir=templates That code killed the main pagelayout, so I thought I could move it to /extensions/extension_name/settings/override.ini.append.php. But I got the same default behaviour, ie an empty pagelayout on default main site. I need a hint to where I can find more information about how to manipulate pagelayouts inside the PHP-code.
|