{id} — Returns record ID
{server:option} — Returns server value
option — see PHP $_SERVER funciton for details.
{link} — Link to detailed page
{linknoreturn} - Link to detailed page without «returnto» link
{returnto} — Returns Base64 encripted Link to catalog page with an anchor to the current record.
{recordlist} — list of record (item) Ids, example: 4,78,3,876
{toolbar:|buttons|} - Buttons to manipulate
buttons — is buttons separated with comma: edit, delete, publish, image gallery
{date} — Returns current date in Joomla defined format (language supported)
{today} - Returns current date in format Y-m-d
{Itemid} — Joomla menu Itemid
{number} — return record number (in current order), not record id.
{currentuserid} — Returns Current User ID
{currentusertype}— Returns Current User Type (Super Administrator, Editor, etc...)
{published} — Returns «Yes» word (language depended) if record is published and «No» if not.
{_value:published} — Returns «1» if published and «0» if not.
{user:option} - Returns current user data (if user is logged in)
option — name, username or email
{sqljoin:function,tablename,findwhat_field,lookwhere_field,value_of_field,additional filter} - Returns a value of the field/record of table connected by INNER JOIN
functions:
- count - counts the entries
- avg - average
- min - minimum
- max - maximum
- sum - summarizes values of selected field
- value - returns value of selected field
- smart - resolves value of selected field
Findwhat: field of the current table, _id to find id.
{php:script}
executes PHP script and return the result. script will be replace with «return script;» Note that you cannot use ' character.
{php_a}, {php_b}, {php_c} — same as above, but you may use it's sequence.
{resolve} — «Resolvs» ExtraSearch structure (heirarhial value) — Code to Textual Representation.
{pagetitle:"value"} — A command to set the Page Title.
{metakeywords:"value"} — A command to place a meta keywords into the head of the page.
example:
{metakeywords:"[keywordsfieldname]"}
This line will be added to the source code of the page:
<meta name="keywords" content="what ever keywordsfieldname field contains" />
{metakeywords:"Article, Search, Example"}
This line will be added to the source code of the page:
<meta name="keywords" content="Article, Search, Example" />
{metadescription:"value"} — A command to place a meta description into the head of the page.
This line will be added to the source code of the page:
<meta name="description" content="value" />
note: create two fields in the table, one for keywords should be string type another, for description should be text
{headtag:"the tag itself"} — A command to place custom tag into head of html document.
{websiteroot} — Returns website root path (http://example.com/)