Tags in the core

There are plenty of tags included with the CMSMS core. Some of them are demonstrated here, for any questions as to the parameters they can take or anything else please see the Tags Help.

{anchor}

Syntax used
{anchor anchor='here' text='Scroll Down' class='myclass' title='mytitle' tabindex='1' accesskey='s'}
Display
Creates a link to an anchor on the same page. Used for example for the ^Top link at the bottom of this page.

{breadcrumbs}

Syntax used
{breadcrumbs delimiter='»' initial='1'}
Display
Breadcrumbs are a navigational technique displaying all visited pages leading from the home page to the currently viewed page. You find it under the header on this page.

{cms_module}

Syntax used
{cms_module module='somemodulename' param1='something' param2=true}
Display
This tag is used to insert modules into your templates and pages. Used for any module that you download. In the default templates, wrapper tags are used for inserting modules though. That is, a tag is made to insert a cms_module tag.

{cms_selflink}

Syntax used
{cms_selflink page="1"} or {cms_selflink page="alias"}
Display
Creates a link to another CMSMS content page inside your template or content. Can also be used for external links with the ext parameter.
Example
This is an external link to the CMS Made Simple website(external link)

{cms_version}

Syntax used
{cms_version}
Display
Displays current version number of CMS Made Simple.
Example
See the footer on this page.

{cms_versionname}

Syntax used
{cms_versionname}
Display
Displays current version name of CMS Made Simple.
Example
See the footer on this page.

{current_date}

Syntax used
{current_date format="%A %d-%b-%y %T %Z"}
Display
Prints the current date and time.
Example
Friday 29-Aug-14 07:14:57 CEST

{embed}

Syntax used
{embed url="http://www.cmsmadesimple.org"}
Display
Enable inclusion (embeding) of any other application into the CMS. The most usual use could be a forum.

{googlepr}

Syntax used
{googlepr}
Display
Display's a number that represents your google pagerank.

{global_content}

Syntax used
{global_content name='footer'}
Display
Inserts a Global Content Block (previously known as HTML blob) into your template or page. The code for the footer of this page is in a Global Content Block.

{menu_text}

Syntax used
{menu_text}
Display
Prints the menu text of the page.
Example
Tags in the core

{modified_date}

Syntax used
{modified_date format="%A %d-%b-%y %T %Z"}
Display
Prints the date and time the page was last modified.
Example
Sunday 25-Mar-12 16:16:14 CEST

{print}

Syntax used
{print}
Display
Creates a link to only the content of the page.
Example
Print this page

{google_search}

Syntax used
{google_search}
Display
Searches your website using Google's search engine.
Example

{site_mapper}

Syntax used
{site_mapper}
Display
Prints out a sitemap.
Example

{valid_xhtml}

Syntax used
{valid_xhtml}
Display
Creates a link to the W3C HTML validation service.
Example
valid XHTML 1.0 Transitional


Next page: User Defined Tags