Loading...
 

What do you think?

What do you think of this project?



Anti-Bot verification code: Random Image

View Results
(Votes: 917)

"This is the only Tiki site that explained things enough that I could follow and understand."
Is Smarties helpful?

Become a Fan

Become a fan.
http://facebook.com/twbasics
Become a fan.

Smart Tweets


Smart Readers



Advertising



[Show/Hide Left Column]

Carbon copy.
| Share |Send link to a friend.
Print Convert to PDF
Previous page Parent page Next page

Creating Content Templates

#From the Admin menu, select Content templates. The Admin templates page appears.
+
TipTip:
You can also access the Admin: Templates page by typing http://www.yourdomain.com/tiki-admin_content_templates.php in your web browser.
+
Image
Creating a template.

    • Name: Enter the name of the template. Your users will see (and select) the template based on this name, so make it useful.
    • Use in Wiki: Select this option to make this template available for wiki pages.
      NoteNote:
      Only features for which you enabled the use of Content Templates will be listed. Right now, only the Wiki can use templates.
    • Template: Using wiki syntax, create a default page that will become the template. For example:
  • !Enter the Page Title Here

    ''Enter the page description here, in italic''

    {maketoc}

    !!Secondary Heading


    TipTip:
    The {maketoc} is a special wiki plugin that will automatically create a table of contents based on the headings used on the page. There are several options that you can include to control the formatting, depth, and title of the list. Refer to the TikWiki documentation.Tiki Documentationexternal link for complete details. This plugin is similar to the {toc} used in Wiki Structures.
  1. Click Preview to review the template. Continuing editing the template and click Save when you're done.
    Preview
    A preview of your new wiki template.
Tiki saves the template and adds it to the list of available templates:
Templates
Your new template.




You can repeat this procedure to create a new template for the articles (or use this same template for both features). Be sure to first enable the Template option on the Administration: Articles page.

NoteNote:
The maketoc built-in plugin can actually take parameters to make your page look nicer. See the Tiki docs page(external link) for more info.



Previous page Parent page Next page

Contributors to this page: Rick Sapir and Randy .
Page last modified on Thursday, July 08, 2010 01:03:54 pm EDT by Rick Sapir.
The content on this page is licensed under the terms of the Copyright.

Carbon copy.
| Share |Send link to a friend.
Print Convert to PDF
Feedback Form
Feedback Analytics