IntroductionIntroduction
  Publishing web pagesPublishing web pages
  RXMLRXML
  Information tagsInformation tags
  String tagsString tags
  Variable tagsVariable tags
  URL tagsURL tags
  If tagsIf tags
  Graphics tagsGraphics tags
  Database tagsDatabase tags
  LDAPLDAP
  Programming tagsProgramming tags
  SSI tagsSSI tags
  Image mapsImage maps
  IntraSeekIntraSeek
  LogViewLogView
  TemplatesTemplates
    <tmplinsert>tmplinsert<tmplinsert>tmplinsert
    <tmpldefault>tmpldefault<tmpldefault>tmpldefault
    <tmplblock>tmplblock<tmplblock>tmplblock
    <tmpldefaultparam>tmpldefaultparam<tmpldefaultparam>tmpldefaultparam
    <tmplinsertblock>tmplinsertblock<tmplinsertblock>tmplinsertblock
    <tmplinsertall>tmplinsertall<tmplinsertall>tmplinsertall
    <tmplinsertexcept>tmplinsertexcept<tmplinsertexcept>tmplinsertexcept
    <tmplhelp>tmplhelp<tmplhelp>tmplhelp
    <Examples>Examples<Examples>Examples
    <Default template>Default template<Default template>Default template
  NavigationNavigation
  SiteBuilder tagsSiteBuilder tags
  Supports systemSupports system
  SecuritySecurity
  AppendixAppendix
 
<tmplinsertblock> </> Templates

 

<tmplinsertblock> inserts one or several custom tags defined by the <tmplblock> tag. The content file will be searched for all occurrences of the tag or tags, and they will then be inserted according to the definition done with the <tmplblock> tag. Other tags in the content file will be ignored.

It is possible to insert the contents several times. Each time an insertion is done the whole content file will be searched for appropriate tags. Between the insertions the tag definition can be changed, with another <tmplblock> tag defining the same tag.

An exception to the rule that the whole content file is searched, is when a <tmplinsert> tag is used within a <tmplblock> tag. In that case, only the current tag will be searched, not the whole content file.

tag=tag, tag, ...
The tags to insert.

 

Attributes

tag=tag, tag, ...
The tags to insert.

<tmplblock tag=cow singletag attribute=name>
$name$
</tmplblock>

<tmplblock tag=h1>

$h1$ </tmplblock> <tmplinsertblock tag=h1> <tmplblock tag=h1 attribute=color> <tmpldefaultparam tag=color>black</tmpldefaultparam>

$h1$
</tmplblock> <tmplinsertblock=cow,h1> ...

Cows

Bad Cows

"=> >


Cows
Bad Cows

Cows
Rose THX

Bad Cows
Mad

 

Example


<tmplblock tag=cow singletag attribute=name>
$name$
</tmplblock>

<tmplblock tag=h1>

$h1$ </tmplblock> <tmplinsertblock tag=h1> <tmplblock tag=h1 attribute=color> <tmpldefaultparam tag=color>black</tmpldefaultparam>

$h1$
</tmplblock> <tmplinsertblock=cow,h1> ...

Cows

Bad Cows

"=> >


Cows
Bad Cows

Cows
Rose THX

Bad Cows
Mad