Introduction
  Publishing web pages
  RXML
  Information tags
  String tags
  Variable tags
  URL tags
  If tags
  Graphics tags
  Database tags
  LDAP
  Programming tags
  SSI tags
  Image maps
  IntraSeek
  LogView
  Templates
    <tmplinsert>
    <tmpldefault>
    <tmplblock>
    <tmpldefaultparam>
    <tmplinsertblock>
    <tmplinsertall>
    <tmplinsertexcept>
    <tmplhelp>
    Examples
    Default template
  Navigation
  SiteBuilder tags
  Supports system
  Security
  Appendix
 
<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.

 

Attributes

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

 

Example


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

<tmplblock tag=h1>
<br><a href='#$h1$'>$h1$</a>
</tmplblock>

<tmplinsertblock tag=h1>

<tmplblock tag=h1 attribute=color>
<tmpldefaultparam tag=color>black</tmpldefaultparam>
<p><a name='$h1$'>
<gtext fg=$color$ scale=0.5 black>$h1$</gtext></a><br>
</tmplblock>

<tmplinsertblock=cow,h1>

...

<h1>Cows</h1>

<cow name=Rose>
<cow name=THX>

<h1 color=red>Bad Cows</h1>

<cow name=Mad>


Cows
Bad Cows

Cows
Rose THX

Bad Cows
Mad