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.
{cms_breadcrumbs}
- Syntax used
{cms_breadcrumbs root='Home'}
- 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
- Link to the modules page
- This is an external link to the CMS Made Simple website
{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
- Thursday 14-Nov-24 20:18:55 CET
{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.
{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
- Friday 20-Sep-24 11:15:30 CEST
{print}
- Syntax used
{CMSPrinting}
- Display
- Creates a link to only the content of the page.
- Example
- {CMSPrinting}
{site_mapper}
- Syntax used
{site_mapper}
- Display
- Prints out a sitemap.
- Example
Previous page: Tags
Next page: User Defined Tags