Tags in the core
There are plenty of tags included with the CMSMS core. Some of them are demonstrated here.
{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.
- Example
{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.
- Example
{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.
- Example
{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(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.
{adsense}
- Syntax used
{adsense ad_client="pub-random#" ad_width="125" ad_height="125" ad_format="125x125_as"}
- Display
- This tag will take the basic parameters that would be provided by the Google adsense program and puts them in a easy to use tag that makes your templates look much cleaner.
- Example
{contact_form}
- Syntax used
{contact_form email="yourname@yourdomain.com"}
- Display
- Display's a simple contact form.
- Example
{current_date}
- Syntax used
{current_date format="%A %d-%b-%y %T %Z"}
- Display
- Prints the current date and time.
- Example
- donderdag 26-dec-24 12:35:34 CET
{edit}
- Syntax used
{edit}
- Display
- Creates a link to edit the page in the Admin Panel.
- Example
{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
- dinsdag 25-jul-06 21:22:31 CEST
{print}
- Syntax used
{print}
- Display
- Creates a link to only the content of the page.
- Example
{google_search}
- Syntax used
{google_search}
- Display
- Searches your website using Google's search engine.
- Example
{startExpandCollapse} {stopExpandCollapse}
- Syntax used
{startExpandCollapse id="expandcontent" title="Click Here"}
Text here{stopExpandCollapse id="expandcontent" title="Click Here"}
- Display
- Enables content to be expandable and collapsable.
- Example
- Click Here
{sitemap}
- Syntax used
{sitemap}
- Display
- Prints out a sitemap.
- Example
-
- Home
- Reviews
- OUMEIDANJII KT88
- Templates and stylesheets
- Pages and navigation
- Content
- Menu Manager
- Extensions
- Events Manager
- Workflow
- Where do I get help?
- CMSMS tags in the templates
- Left simple navigation + 1 column
- Top simple navigation + left subnavigation + 1 column
- CSSMenu top + 2 columns
- CSSMenu left + 1 column
- Minimal template
- Zelfbouwprojecten
{valid_xhtml}
Previous page: Module Manager
Next page: User-defined tags