Fullscreen
3d browser Print

Tags: templates

Content Templates

Content templates are blocks of static HTML markup or wiki syntax and other text that can be applied as starting contents when creating such tiki objects as:
  • Wiki pages (HTML format or wiki format)
  • Articles or submissions
  • Newletters
To create or edit a content template, follow the "content templates" link from the admin section of the application menu. The screen will be as follows:

The process is to simply edit the template and save it; you can preview the template if you want.

Important: If editing an HTML page template the wiki syntax is OFF and features such as wiki references and others are not parsed. For HTML pages, only HTML code and {ed id=name} or {ted id=name} are allowed and parsed when previewing.


Once a template is created, editors will be able to apply it when editing an object of the type that the template has been specified for. If a content template is applied to a wiki page that already has content, the content template will be pasted in at the beginning of the page but won't overwrite the existing content.

Note however that for a template to be usable by editors, you need to activate the template feature, and label the template for use in particular objects. For example, if you want the template to be usable inside the wiki, you would do the following:

  • Admin > Wiki > Content template (check it)
  • Admin menu (on the left) > Content Templates
    • Locate the template you want to use in the wiki
    • Click on the pen icon in that row (in the Action column)
    • Beside Use in:, check the Wiki box.
    • Save

The content template that is applied to any particular page is a copy of the original. Once applied, the content template becomes part of the page and can be edited as freely as the rest of the wiki page. If the content template original changes, the pages that use the old version of the template are not changed.

The template has to be chosen each time a new page is created, there is no way to pick a different default entry than "none" (but there is a request for enhancement (external link)).


Contributors to this page: tobi_h86 points  , alain_desilets32 points  , chibaguy456 очков  , TheDoc27 очков  , sylvie1679 points  , jmj4 punten  , StarRider1 points  and system .
Page last modified on Thursday 18 June, 2009 14:19:41 UTC by tobi_h86 points .

Documentation Menu

To register

To have an account at this site, please register at Tikiwiki.org (external link), and then use that user name and password to log in here.

This site gets user information from Tikiwiki.org with the InterTiki feature.

Folksonomy

Tags: templates
Anti-Bot verification code: Random Image
Enter the code you see above:

Compare

Wiki Feature Comparison

Search by Page Name

Exact match

Menu

Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki documentation and should correspond to development keywords (bug reports and feature requests):

Accessibility (WAI – 508)
Action log 2.x
Alert 3.x
Articles & Submissions
Backlinks
Backup
Banner
Blog
Bookmark
Browser Compatibility
Cache
Calendar
Category
Charts
Chat
Comments
Communication Center
Compression (gzip)
Contacts Address book
Contact us
Content template
Contribution 2.x
Cookie
Copyright
Custom Home (and Group Home Page)
Database independence
Date and Time
Debugger Console
Directory (of hyperlinks)
Documentation link from Tiki to doc.tikiwiki.org (Help System)
DogFood
Drawing
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Game
Gmap Google maps
Group
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interaction
Inter-User Messages
InterTiki
JS Calendar
Karma
Live Support
Login
Look and Feel
Lost edit protection
Mail-in
Map with Mapserver
Menu
Meta Tags
Mobile Tiki and Voice Tiki
Mods
Module
Mootools 2.x
Multimedia 2.x
MultiTiki
MyTiki
Newsletter
Newsreader
Notepad
PDF
Performance Speed / Load
Permission
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Poll
Profile Manager
Quicktags
Quiz
Rating
RSS
Score
Search engine optimization
Search
Security
Semantic links 3.x
Shadowbox
Shoutbox
Slideshow
Smarty Template
Smiley
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Survey
System log
Tags 2.x
Task
Tell a Friend + Social Bookmarking 2.x
TikiTests 2.x
Theme
Trackers
TRIM
User Administration including registration and banning
User Files
User Menu
Watch
WebHelp
Webmail
Webservices
Wiki 3D
Wiki History, page rename, etc
Wiki Page Staging and Approval 2.x
Wiki Plugins extends basic syntax
Wiki Syntax
Wiki structure (book and table of content)
Workflow (Galaxia Workflow engine)
WYSIWYCA
WYSIWYG 2.x
XMLRPC