Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

/layout/set

The view layout/set: its address, parameters and the policy functions it needs.

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/examples/module-views/layout/set.md

On this page

/layout/set

A view of the layout module, defined in kernel/layout/module.php and run by kernel/layout/set.php.

Address

/layout/set/<LayoutStyle>

Ordered parameters, in this order after the view name: LayoutStyle.

Who may open it

Listed in settings/site.ini [RoleSettings] PolicyOmitList[]: no policy is checked, everyone may open it. The view names no policy function, so the user needs a policy for the whole module: layout/* (every function of the module) in one of the roles assigned to them.

Example

A link in a template (ezurl adds the siteaccess and quotes the address); the parameter values are placeholders:

<a href={'/layout/set/layoutstyle'|ezurl}>layout/set</a>

From PHP, the redirect a view gives after it has done its work:

return $Module->redirectTo( '/layout/set/layoutstyle' );

Generated by ./console exp:help:examples from kernel/layout/module.php, kernel/layout/set.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x