Share » Forums » Developer » Admin/user Preview

Admin/user Preview

Admin/user Preview

Wednesday 25 June 2003 9:35:02 am - 3 replies

Author Message

Tony Wood

Wednesday 25 June 2003 10:00:14 am

Arrhh... its a section 'pagelayout' problem.

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Bård Farstad

Wednesday 25 June 2003 1:31:20 pm

Any more information about this problem?

--bård

Documentation: http://ez.no/doc

Tony Wood

Wednesday 25 June 2003 3:47:35 pm

Nope, just me being dumb... I used a page_layout_section.tpl for the main section and had the pagelayout.tpl as the catchall.. i.e. page error, this page would then wait three seconds and bounce you to the home page.
I found that if i do this, the preview function within admin does not work as it seems to use a different section from the one your in, to display the page.
To solve the problem i removed the section_layout and replace the code in pagelayout. I don't get the nice page not found message, but i get previews, which is what i needed.

I'll need to do some tests with this for sites that have many section displays.....

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu