See below for examples of use.
Most commonly used ones are bolded.
[*id *] - returns the id of the current document (integer)
[*type*] - document / weblink
[*contentType*] - (text/html etc)
[*pagetitle*] title of the page
[*longtitle*] longtitle of the page
[*description*] description of the page
[*alias*] alias of the page
[*published*] published? Yes / No (1/0)
[*pub_date*] published date
[*unpub_date*] unpublished date
[*parent*] document parent (integer)
[*isfolder*] is this document a folder? Yes / No (1/0)
[*content*] what is on the page
[*richtext*] is it rich text? Yes / No (1/0)
[*template*] what template does the page use? (integer)
[*menuindex*] what is the menuindex (order in the tree)
[*searchable*] Is it searchable? Yes / No (1/0)
[*cacheable*] Is it cacheable ? Yes / No (1/0)
[*createdby*] who was it created by? internalKey (id of user)
[*createdon*] date created
[*editedby*] who was it last edited by? internalKey (id of user)
[*editedon*] date last edited
[*deleted*] is it deleted? Yes / No (1 / 0) (deleted means ready to be purged but can still be undeleted).
[*deletedon*] date deleted
[*deletedby*] who was it deleted by? internalKey (id of user)
[*authenticate*] is it authenticated? (do you need to log in to see it?) Yes / No (1 / 0)
[*showinmenu*] should it apear in the menu? Yes / No (1 / 0)
Used in a template or chunk:
<html> <head> <title>[(site_name)] || [*alias*]</title> </head> <body> <h2>[*pagetitle*]</h2> [*content*] </body> </html>
Used in a snippet:
$link = $etomite->makeURL($etomite->documentIdentifier,'',''); $out = "<a href='.$link.' title ='[*pagetitle*]'>[*alias*]</a>"; return $out;
See also the etomite Documentation: Templates for more like this.











