Documentation / Documentation for web designers / RainTPL Tags 

{include="template"}

This tag include the selected template. The template parameter can be also a variable, assigned to the template

Example

{include="header"}

 

 

{include="template" cache="expire_time"}

Also {include} can be used with static cache, useful for include contents that doesn't change frequently such as footer, header, menu ...

Example

{include="footer" cache="3600"}
« {loop="array"}{/loop} ^ RainTPL Tags ^ {|modifier} »

Documentation for web designers




Documentation for PHP developers