New feature: Ability to override page layout per page basis
Tags: New Features Static Page
This new feature enable you to override the default page layout on a static page
This new feature enable you to override the default page layout on a static page
For example, the Page Template defines that a static document should have 2 Column Right layout, like this;
If we need to have a single static page using other layouts, such as One Column, this can be achieved by specifying the "Override Template Layout" settings in the static page's Advanced tab, like this;
Two design elements has been changed here. First the form CONTENT - Static Page | content_StaticPage, to which I have added the fields EntryLayoutOverride and EntryLayout, like this;
Finally I have changed the agent (WQO - Load Static Page)|Agnt_LoadStaticPage to check for existance of EntryLayoutOverride. If present, I checks all the way and retrieves the override layout code, which is then used instead of raw usage of templateDoc.Template_SE_Layout(0) . Below you see the new code;
Perhaps this should be valid for other entries as well? What do you think?
By the way, check out the example in the Sample documents to see the difference.

