Forums / Setup & design / how to use /popup_pagelayout.tpl

how to use /popup_pagelayout.tpl

Author Message

Łukasz Serwatka

Thursday 21 October 2004 11:43:46 pm

Hi,

I`ve found popup_pagelayout.tpl file in common templates list. Hou to access this tpl via url? can I use blank pages in eZ to create popups? Is there any tutorial how to use this template?

Luke

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Ekkehard Dörre

Friday 22 October 2004 2:31:39 am

Hi,
you can have different layouts in one siteaccess:
normal, print:
http://www.example.com/index.php/siteaccess/layout/set/print/content/view/full/137
popup:
http://www.example.com/index.php/siteaccess/layout/set/popup/content/view/full/137
fullscreen
http://www.example.com/index.php/siteaccess/layout/set/popup/content/view/full/137

You can define more in settings layout.ini. For this, create an file in settings/override/ with name layout.ini.append.php and add changes or new layouts, eg. flash (you can use the ez.no search for more info)

Now you need only a link to this.

For real testing:
normal:
http://demo.ezpublish.no/news/news/latest_updates_from_us
print:
http://demo.ezpublish.no/news/layout/set/print/content/view/full/82

but no popup and fullscreen ;-)

Greetings, ekke

Documents:
http://ez.no/ez_publish/documentation/reference/modules/layout
http://ez.no/ez_publish/documentation/customization/custom_design/printable_pages

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

Łukasz Serwatka

Friday 22 October 2004 2:41:48 am

Hi Ekkehard

Thank you for your reply.

Is possible to define more then one override template view for this /popup_pagelayout.tpl? I admin area there is no inputs where can I define section name or node id when i creating new tpl.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Ekkehard Dörre

Friday 22 October 2004 4:46:39 am

...in your design/your_siteaccess/templates/ you can put popup_pagelayout.tpl inside. It'll be taken automatically.

http://ez.no/ez_publish/documentation/incoming/design/designs_and_siteaccesses
http://ez.no/ez_publish/documentation/incoming/design/siteaccess_configuration
http://ez.no/ez_publish/documentation/customization/custom_design/override_templates

Greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing