Site Map Home This Page: parameters.php

Command Parameters

Mara supports a number of parameters which can be appended to the page URL, and which cause specific changes to the way in which the page is handled. These can be used in permanent links, but they are typically aimed at developers, as a quick way of testing changes without altering the default setup.

This will cause the theme for this page to be loaded from a different subdirectory in the theme collection. As of v3.1 this change is now 'sticky' and will last for the current browser session, or until another ?theme= parameter is encountered. This overrides the 'theme=' setting in siteini.php. Note that by design it cannot override any 'cms_theme' meta tag in the page head, therefore some pages may still display with a hardcoded theme setting. A value of '?theme=default' will clear the user theme selection.

The listed page sections, separated by commas, will not be displayed.
Relies on the respective IDs being present in theme.php, eg id='cms_top'.
'all' can be used to display the page on its own without a theme, although with the theme stylesheet still applying.
This change is not sticky. See the Page Head item for how to make these changes permanent.

Overrides the default cascading menu placement, which is normally side. Does not remove the sidebar, but turns the top quicklink menu into a full menu. Normally used in conjunction with &hide=left in testing pages which require full width. Only effective on pages where the principal menu is at the side. 

Presently the only option is ?style=print which presents the content only, for printing. May be expanded to allow sylesheet testing. 

Causes the page to be displayed as if in viewing mode, even if  you are in edit mode. Mainly useful when viewing a page in a separate browser tab to see how scripted content will render. No effect in view mode. Effectively similar to pressing the Preview button in the editing toolbar.

?debug=1 (or 2)
Displays various pieces of information about ajax data transfers when in admin mode. Mainly useful for system development.  No effect in view mode, or if the user is not a site admin (Privelege 5). 

Example of usage: