TCF Reference


On this page is a reference for all existing TCF parameters. Any parameters you might use in the TCF at any time are found -- and explained -- on this page.

 

 

 



Include

Include additional TCF files. Included TCF file must be in same directory as the TCF performing the inclusion.

Syntax:
<include> </include>

Example:
<include>includes/yellow.tcf</include>

Parameters

This tag has no parameters.

Child tag of navigation-list which contains structure of new navigation item to be rendered and appended to the file specified via the path parameter

Syntax:
<navigation> </navigation>

Example:

<navigation name="leftnav" path="subnav.inc" group="everyone" publish="yes">
<li>
<a href="{ox_autonav:shorturl}">
{navtitle}
</a>
</li>
</navigation>

Parameters ( toggle all )

  1. group

  2. name

  3. path

  4. publish

Contains child nodes which define navigation to be used throughout the new page creation process.

Syntax:
<navigation-list> </navigation-list>

Example:
<navigation-list>
<navigation name="leftnav" path="subnav.inc" group="everyone" publish="yes">
<li>
<a href="{ox_autonav:shorturl}">
{navtitle}
</a>
</li>
</navigation>
</navigation-list>

Parameters

This tag has no parameters.

Template

Defines a template file (TMPL) and relevant parameters to be used during new page creation process.

Syntax:
<template> </template>

Example:
<template
  prompt-prefix="New Document"
  group="everyone"
  filename="untitled"
  display-group="yes"
  rss-feed="*inherit*"
  preferred-redirect="yes"
  publish="no"
  extension="pcf"
  destination="{directory/}{dirname}"
  >{selected_template}</template>

Parameters ( toggle all )

  1. approver

  2. autonav

  3. destination

  4. display-filename

  5. display-group

  6. display-overwrite

  7. extension

  8. filename

  9. filename-alt

  10. force-destination

  11. group

  12. name

  13. overwrite

  14. preferred-redirect

  15. prompt-prefix

  16. publish

  17. publishers

  18. rss-author

  19. rss-description

  20. rss-extra

  21. rss-feed

  22. rss-link

  23. rss-media

  24. rss-pubdate

  25. rss-title

  26. template-group

  27. toolbar

Template List

Contains child nodes which define templates to be used throughout the new page creation process.

Syntax:
<template-list> </template-list>

Example:
<template-list>
  <template
    prompt-prefix="New Document"
    group="everyone"
    filename="z-breadcrumb"
    destination="{directory/}{dirname}"
    display-group="yes"
    preferred-redirect="yes"
    publish="no"
    extension="pcf"
    >z-breadcrumb.tmpl</template>
  <template
    group="everyone"
    filename="index"
    display-group="no"
    display-destination="no"
    display-filename="no"
    display-overwrite="no"
    preferred-redirect="yes"
    publish="no"
    extension="pcf"
    destination="{directory/}{dirname}"
    force-destination="yes"
    >newpcf.tmpl</template>
</template-list>

Parameters

This tag has no parameters.

Variable

The variables node allows for the creation of variables to be used throughout the new page creation process.

variable is a child node of variable-list

Syntax:
<variable> </variable>

Example:
<variable name="pagetitle" prompt="Title" alt="New document title">Untitled</variable>

Parameters ( toggle all )

  1. alt

  2. display

  3. editor

  4. filter

  5. lockout

  6. maxlength

  7. name (Required)

  8. output

  9. path

  10. prompt

  11. rows

  12. type

Variable List

Contains child nodes which define variables to be used throughout the new page creation process.

Syntax:
<variable-list> </variable-list>

Example:
<variable-list>
  <variable name="pagetitle" prompt="Title" alt="New document title">Untitled</variable>
  <variable name="template_path" display="no">/resources/xsl</variable>
</variable-list>

Parameters

This tag has no parameters.

Variable Select Option

Will produce a drop-down menu; the value of the choice will be echoed onto the page.

Applies only to the variable node where type="select"

Syntax:
<option> </option>

Example:
<variable name="color" type="select" prompt="Choose" alt="Choose a header color">
  <option value="blue">Blue Text</option>
</variable>

Parameters

  1. value