FreedomSoft - "the future is freedom"
Include/Insert - Introduction

You can create includes for templates. These are 'chunks' of HTML code, scripts, or anything else, that are be included in the template at compile time.

Includes are very useful for sharing common HTML or scripts between multiple templates. Menus, for example, are often held within includes. To change the menu on all pages, you can then change just the include, then rebuild the templates that use the include.

Includes can include other includes, to any number of levels, but includes cannot be recursive.

Includes are treated the same as templates, are stored in the Template directory, and can be created and edited through either the Template directory, or through the Template page in the Designer. Includes do not need to be (re)built when they are changed.

To tell Freedombase to insert an include in the page, use the %I IncludeName% tag at the appropriate point.

For example: %I MainMenu%

previousnext
12345678910111213141516171819

    navigate     introduction     tags     attributes     expressions     include/insert     security     repeat/loop     command     creating     edit     update     custom code