Developers Documentation

×

Warning

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

User Tools

Site Tools


Page Layout

The page.php defines the various types of page layouts that are required in a ClearOS web interface.

Page TypeDescription
MY_Page::TYPE_CONFIGURATIONA standard configuration page (meat and potatoes)
MY_Page::TYPE_WIDE_CONFIGURATIONA configuration page that requires extra width
MY_Page::TYPE_REPORTSA report page
MY_Page::TYPE_REPORT_OVERVIEWA report overview page
MY_Page::TYPE_SPOTLIGHTMarketplace and potentially other special pages
MY_Page::TYPE_DASHBOARDDashboard
My_Page::TYPE_SPLASHA minimalist splash page (e.g. web proxy warning)
MY_Page::TYPE_SPLASH_ORGANIZATIONA minimalist splash page that allows company logos/themes
MY_Page::TYPE_LOGINThe login page
MY_Page::TYPE_WIZARDA wizard page
MY_Page::TYPE_CONSOLEThe graphical console page

Hook

The theme engine loads the core/page.php file in your theme directory and expects to find the theme_page hook defined.

The parameter page provides a whole bunch of information that you can use to build out your layouts.

content/en_us/dev_theming_page_layout.txt · Last modified: 2014/12/23 15:53 by dloper

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