-
- 5 Posts
Here are some of the template tags in case you’re not sure about how to use the new syntax or sure about which ones exist. If you know of anymore add them to the post.
pagetitle - [[*pagetitle]]
longtitle - [[*longtitle]]
description - [[*description]]
introtext - [[*introtext]]
menutitle - [[*menutitle]]
content - [[*content]]
sitename - [[++site_name]]
-
- 4,213 Posts
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
As far as what values are available, for [[*...]] any field from the site_content table is available. Most of them won’t be of much use; for example do you really want to display whether or not it’s set to hide from menus? Also, the dates are all in UNIX timestamps (the number of seconds since Jan 1, 1970), so they aren’t of any use in their raw state.
For [[++...]] any value in the system_settings table and some from the config.inc.php file are available. Again, most of these aren’t much use; do you really want to display which Rich Text editor is the default?
-
- 4,213 Posts
Yes, and now that the new parser supports phx-like filters to every tag, they can be very useful if you want to put some quick logic to the template / document fields without creating a snippet for it.. It gives more choices to the web site developers.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."