Forums / Setup & design / Don't use main Layout in my popup window???

Don't use main Layout in my popup window???

Author Message

Phi Hoang

Friday 21 November 2003 12:21:38 am

Basically, I created a plain site like TSCM example. After that I would like to popup new window containing images but I don't want the main layout appear in this new window (ie. disappear header and footer). How can I dow do that? Thanks in Advance.

Bård Farstad

Friday 21 November 2003 12:42:41 am

You can use the layout module for this. If you prepend your URL with e.g. /layout/set/print you will get the print layout for your site. This is configured as default with eZ publish so if you just link to an object in your site like this: http://example.com/layout/set/print/content/view/full/42
( where 42 is your node ) you will not get the header and footer you normally have.

--bård

Documentation: http://ez.no/doc