ClearOS Documentation

×

Warning

301 error for file:https://clearos.com/dokuwiki2/lib/exe/css.php?t=dokuwiki&tseed=82873f9c9a1f5784b951644363f20ef8

User Tools

Site Tools


Page Data

In order to provide flexibility with page layout, every page view in webconfig includes a standard set of data values. This lets you put page elements in the header, footer, sidebar or wherever you choose.

General Information

hostname

The hostname of the system. For those who manage multiple ClearOS systems, it is nice to have a quick way to see the name of the system.

layout

The required layout requested by the page. There are three types of page layouts that must be handled by your theme:

  • default: a standard webconfig page
  • splash: a simple splash page (login, proxy access denied)
  • wizard: the page layout used by wizards

osname

The operating system name (e.g. ClearOS Enterprise)

osversion

The operating system version (e.g. 6.0)

registered

A boolean flag that indicates the registration status.

title

The page title.

The menu structure is also part of the page data. The data structure will be documented at a later time.

content/en_us/dev_theming_page_data.txt · Last modified: 2014/12/23 15:52 by dloper

https://clearos.com/dokuwiki2/lib/exe/indexer.php?id=content%3Aen_us%3Adev_theming_page_data&1558381833