Wednesday 16 November 2011 12:03:40 pm - 8 replies
I would like to know if it is possible to force eZ to use a custom pagelayout in a module view.
I have my general standard pagelayout who is perfect for all pages but I have to display a map in fullscreen.
So I would like to force the use of a custom pagelayout from within the PHP code.
I know that it is possible to force pagelayout using URL parameters, but I prefer not to use it (bad for SEO I think, and I wish to keep pretty URLs).
Is it possible ?
Wednesday 16 November 2011 3:29:52 pm
i guess, he wants to override the pagelayout in a custom module view. so, this would be the right way.
I think he want "to use a custom pagelayout in a module view".
Generic module view, not custom.
The best solution is add a template condition in override system.
Can we add it on roadmap?
Wednesday 16 November 2011 4:22:00 pm
you are right domenico,
to override the system pagelayout, you need to define it in the override.ini:
You must be logged in to post messages in this topic!