User Tools

Site Tools


doc:thememinihowto

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:thememinihowto [2020/04/30 17:32] – [What is Smarty ?] eaglemandoc:thememinihowto [2024/02/01 23:30] (current) – Instructions adapted to Smary4 specifications fraenkiman
Line 112: Line 112:
 </code> </code>
  
-There are many predefined variables you can use, and most of them come from Smarty itself; you can read more about them on the [[http://smarty.php.net|manual]]. Some are generate by flatpress, and are globally available like the special {$flatpress} array, of which the fields contains config informations.+There are many predefined variables you can use, and most of them come from Smarty itself; you can read more about them on the [[http://www.smarty.net|manual]]. Some are generate by flatpress, and are globally available like the special {$flatpress} array, of which the fields contains config informations.
  
 Some tags are **not** globally available and can be reached only from within an iterator tag; these variables are proper of the iterator itself. Some tags are **not** globally available and can be reached only from within an iterator tag; these variables are proper of the iterator itself.
Line 228: Line 228:
 *} *}
  
-{include file=header.tpl}+{include file="header.tpl"}
  
 {entries} {entries}
Line 250: Line 250:
  
 <code smarty> <code smarty>
-{include file=tpl/header.tpl}+{include file="tpl/header.tpl"}
 </code> </code>
  
Line 258: Line 258:
 file= admin also a special "URL-like" syntax. file= admin also a special "URL-like" syntax.
  
-file=shared:my_template.tpl will look for a template called my_template.tpl +file="shared:my_template.tplwill look for a template called my_template.tpl 
 in fp-interface/sharedtpls/ in fp-interface/sharedtpls/
  
doc/thememinihowto.1588260732.txt.gz · Last modified: 2020/04/30 17:32 by eagleman

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki