Thursday 09 November 2006 12:21:47 pm
Well, as you found out, you need to create a new layout and a new pagelayout.tpl for this layout. I suggest, that you use a new "view mode" for your node, as Sepp also suggest. Have a look at this for some background information: http://ez.no/doc/ez_publish/technical_manual/3_8/templates/template_basics/node_templates But i don't think, that you will need to override anything for this. Just create a new template file called full_popup.tpl in the same directory as full.tpl and line.tpl Then, in your template code, use this to open your popup layout with the popup view of the current node.
<a href={concat( "/layout/set/popup/content/view/full_popup/", $node.id, "/" )|ezurl}>
If this works, you will have a new viewmode called "full_popup", which works just the same as "full" or "line".
If this does not work (i didn't test it), you really would have to override the view templates. I'm not sure, how to do this the right way, maybe this will help you:
http://ez.no/doc/ez_publish/technical_manual/3_8/reference/template_override_conditions/node_view_tpl Search for "viewmode". If you need your popup stuff cached, look here: http://ez.no/doc/ez_publish/technical_manual/3_8/reference/configuration_files/site_ini/contentsettings/cachedviewmodes
Marco
http://www.hyperroad-design.com
|