Differences

This shows you the differences between two versions of the page.

english:technics:system-variables:templates [2010/11/19 08:46]
Knut Heermann (flip-flop)
english:technics:system-variables:templates [2018/06/03 18:09] (current)
Line 5: Line 5:
Have a look: [[english/templates]] Have a look: [[english/templates]]
 +\\
 +**System variables:**
 +<file>
 +- $block['name']              // name:                      [Template name]
 +- $block['layout']            // layout:                    [layout-No.]
 +
 +- $block['overwrite']         // settings:                  [default|Name of the PHP file in /template/inc_settings/template_default/]
 +
 +- $block["css"]               // CSS file: Output into an array e.g. Array([0] => frontend.css [1] => nav_horiz_drop_down.css)
 +- $block['htmlhead']          // Content HTML head: <head>
 +
 +- $block['jslib']             // JS Library:                [Lib name]
 +- $block['jslibload']         // always load                [0|1]
 +- $block['googleapi']         // use Google Ajax Lib        [0|1]
 +
 +- $block['frontendjs']        // load frontend.js (more for historical reasons) [0|1]
 +- $block['jsonload']          // JS onload:                 [JS string]
 +- $block['feloginurl']        // FE LoginURL:               [url]
 +
 +- $block['headertext']        // Content header:            [Content]
 +- $block['maintext']          // Content main:              [Content]
 +- $block['footertext']        // Content footer:            [Content]
 +- $block['lefttext']          // Content left:              [Content]
 +- $block['righttext']         // Content right:             [Content]
 +
 +- $block['customblock_XXX']   // Content custom blocks XXX  [Content]
 +
 +- $block['errortext']         // Content error:             [Content]
 +</file>
 +
 +\\
===== Mount a static file as a template in the "main:"  ===== ===== Mount a static file as a template in the "main:"  =====
english/technics/system-variables/templates.1290152817.txt.gz · Last modified: 2018/06/03 18:07 (external edit)
www.planmatrix.de www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0