This section is intended for site designers.

Overview: There are two templates (Main and Sec.) for the table of contents (TOC) since there are two levels of pages.  The order in which pages are displayed is determine by two numbers, (primary and secondary display order).  Top level pages are those pages with a secondary display order of 1. Commonly the TOC elements are either build from a series of table rows or nested unordered list (that is the secondary pages are an unordered list inside the primary page's unordered list.

  • A special tag is used inside these templates to generate the links to the pages |.link.|
    • If the page being displayed is not the current page, then the tag is replaced by a link to that page around the page title
    • If the page being displayed is the current page, then the the tag is replaced by just the page title.
  • Using Table Rows
    • Surround the |.TOC.| tag or |.TOC:section name.| tag with begin and end HTML table tags.
    • Main tag can be as simple as {tr}{td}|.link.|{/td}{/tr}
    • Sec. tag can be as simple as {tr class='secTOC'}{td}|.link.|{/td}{/tr}
  • Using Unordered Lists
    • Surround the |.TOC.| tag or |.TOC:section name.| tag with begin and end HTML unordered list tags.
    • The system will insert {ul class='secTOC'} and {/ul} around the  secondary TOC lines automatically.
    • The Main needs to keep the list element open so it looks like this: {li}|.link.|
    • The Sec. template should close it so it looks something like this:  {li}|.link.|{/li}
  • A hybrid system can be created by not closing the table rows so you will get the secondary pages as an unordered list inside each table row.
  • To go across the page use put the open and close table row HTML tags around the |.TOC.| tag and do not close the table data elements in the Mail template (just like you didn't close the list element template. Begin each Sec. template with a {br} HTML tag.
May you enjoy peace and growth.
 
  HomeSpacer   AboutSpacer   ServicesSpacer   Contactspacer