PostNuke: A Flexible Open Source Content Management System
home | forum | international support | contact us

Documentation Wiki

Theme components


  1. page configuration assignments - a page configuration assignment defines which page configuration will be used for a particular set of parameters in the URL. These parameters can be a particular module, type and function and/or and custom arguments. Pre-defined dummy modules exist for the 'home page' and 'admin pages'. Page configuration assignments are held in <theme name>/templates/config/pageconfigurations.ini
  2. page configurations - page configurations describe the overall look of a page from what templates are used to what colour scheme is used. Page configurations are held in various files in <theme name>/templates/config/ e.g. master.ini for the base page configuration. A page configuration file (an ini file) holds several pieces of information
    1. the page template - the template used to render to page.
    2. templates for block types, block positions and block instances
    3. the palette used (not yet implemented)
  3. block positions - block positions are logical group of blocks that from the output to be placed in one position with in a page template e.g. left blocks, right blocks.
  4. palettes - a palette is a set of colours that can be used within page templates to implement inline styles. Palettes should complement the colours used in the stylesheets. Personally i'm not sure about the existence of these since everything should be done with css......
  5. variables - theme variables are various parameters that can be used to alter the way a theme looks. Theme variables are simple text values defined from the admin panel that are then available in the templates as template variables. Theme variables are held in <theme name>/templates/config/themevariables.ini
  6. Running configuration - a running config is a copy of all theme configuraton files held in <theme name>/templates/config/. These files are copied to pnTemp/Xanthia_Config/<theme name> (although the use of a directory may change due to safe mode issues). This prevents the need for the web server to be able to write to anywhere apart from pnTemp/*.



Theme Authoring Index Page
CategoryDeveloperDocs
XML Revisions of $tag
Page history :: Last Editor [ randomblink ] :: Owner [ markwest ] ::
Valid XHTML :: Valid CSS :: Powered by pnWikka 1.0 (A wiki fork from WikkaWiki)
 

Main Menu

Extensions Database

Documentation

Development

Login





 


 Log in Problems?
 New User? Sign Up!

Donate to PostNuke