Base Tag Library
Note: We have updated our folder structure in Neto 6 and this has not been updated on all tweaks yet. More info.


Loads content between templates


Setting the content to store

[%site_value id:'your-id'%]
    Content goes here

Loading stored content

[%site_value id:'your-id' type:'load'/%]


The site value tag first selects a block of content to load which can include all sorts of HTML & B@ase tags, but then loads them in a separate part of the site and includes support for separate templates.

An example of this is within our core template is using it to load any Javascript that occurs in the body and relies on body specific data tags to be moved to the footer to assist page load.

When using the site_value tag there are 3 things to remember about it's use :

  1. The site value can only be loaded underneath the data that is collected in the code on the page
  2. When loading setting and loading data, keyhole caching will break the results
  3. The site value tag will not react dynamically to ajax calls of new content but will work with static load_template blocks

site_value Parameters

Name Options Description
id:'' String The unique ID of content you'd either like to store or load
type:'' load Without type load specified the tag will by default set the content. When the type is set to load it will load based on the ID.