Table of Contents

  • Introduction
  • Templates
    · Introduction
    · <tmplinsert>
    · <tmpldefault>
    · <tmplblock>
    · <tmpldefaultparam>
    · <tmplinsertblock>
    · <tmplinsertall>
    · <tmplinsertexcept>
    · <tmplhelp>
  • Navigation
  • SiteBuilder Tags
  • Examples
  • References
  •  <tmplhelp> ... </tmplhelp> 
    <tmplhelp> is defined in the WebLayout Templates module.

    The <tmplhelp> tag makes it possible to write help texts about a template file and the custom tags defined by it. The help texts will be displayed when a user views the template file in the Content Editor.

    Attributes
    tag, param,  

    Attributes

    tag=name
    The help text is for this tag.

    param=name
    The help text is for this attribute, to the tag specified by the tag attribute.
    Example
    source code
    
    <tmplhelp>
    The example template is used to show how template 
    files can be used.
    </tmplhelp>
    
    <tmplhelp tag=test>
    The test tag will insert its contents in a nice 
    shade of blue.
    </tmplhelp>
    
    <tmplhelp tag=test param=color>
    The color attribute can be used to change the color
    of the test tag, from its original nice shade of blue.
    </tmplhelp>
    

    result