User Tools

Site Tools


en:public:developer:template_system:tags:string:datacache

This is an old revision of the document!


<#datacache>

Use this tag to cache in memory some data

Parameters

Name Mandatory Description
Id No The ID of the section
MoveTo No Instruct to move this section to the section that have ID equal to the value of this parameter
Body No The section content

Literal

<#section moveto=“head”>..body..<#endsection>

Example

<html>
  <head>
    <#section id='head'></endsection>
  </head>
  <body>
    <#section moveto='head'>This must be in the header</endsection>
  </body>  
</html>

The above example will output:

<html>
  <head>
    This must be in the header
  </head>
  <body>
  </body>  
</html>
en/public/developer/template_system/tags/string/datacache.1367494495.txt.gz · Last modified: 2013/05/02 15:34 by svanderclock