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
Saturday 06-Dec-25 04:11:46 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 28-Mar-25 13:06:42 CET

{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


Time: 0.057842 / SQL: 0.01074s for 53 queries / Net Memory: 1468080 / Peak: 1865576
Debug: (0.00026800000000005) - (net usage: 35616) - (peak: 393312)
Initialize Database
Debug: (0.001005) - (net usage: 79760) - (peak: 437464)
Done Initializing Database
Debug: (0.001024) - (net usage: 79920) - (peak: 437624)
initialize internal global cache
Debug: (0.00161) - (net usage: 189152) - (peak: 558624)
done initializing global cache
Debug: (0.001627) - (net usage: 188936) - (peak: 558624)
Loading Modules
Debug: (0.0027700000000001) - (net usage: 217600) - (peak: 583464)
End of Loading Modules
Debug: (0.0028560000000001) - (net usage: 218368) - (peak: 583464)
Initialize Smarty
Debug: (0.002866) - (net usage: 218520) - (peak: 583464)
Done Initialing Smarty
Debug: (0.0029090000000001) - (net usage: 235048) - (peak: 592744)
cms_content_cache: begin load needed content objects
Debug: (0.003065) - (net usage: 235592) - (peak: 593296)
cms_content_cache: end loading needed content objects
Debug: (0.003556) - (net usage: 276680) - (peak: 634384)
SELECT * FROM cms_content WHERE content_id = 31 LIMIT  1
Debug: (0.0040720000000001) - (net usage: 288120) - (peak: 645816)
process template top
Debug: (0.004376) - (net usage: 308736) - (peak: 666440)
SELECT * FROM cms_layout_templates WHERE id = 5 LIMIT  1
Debug: (0.005715) - (net usage: 353272) - (peak: 715544)
SELECT * FROM cms_content_props WHERE content_id = 31
Debug display of 'Start Load Smarty Plugin Search/function':(0.007237) - (net usage: 379560) - (peak: 743688)
Debug: (0.0075540000000001) - (net usage: 396944) - (peak: 754640)
SELECT * FROM cms_module_smarty_plugins ORDER BY module
Debug display of 'Start Load Smarty Plugin nav_breadcrumbs/function':(0.007922) - (net usage: 390200) - (peak: 754728)
Debug display of 'Start Load Smarty Plugin Navigator/function':(0.00829) - (net usage: 394624) - (peak: 754728)
Debug display of 'Start Load Smarty Plugin module_available/function':(0.008579) - (net usage: 395352) - (peak: 754728)
Debug display of 'End Load Smarty Plugin module_available/function':(0.008602) - (net usage: 396328) - (peak: 754728)
Debug: (0.010733) - (net usage: 420920) - (peak: 791872)
SELECT * FROM cms_content FORCE INDEX (cms_index_content_by_idhier) WHERE content_id IN (1,2,11,22) AND active = 1 ORDER BY hierarchy
Debug: (0.011194) - (net usage: 494856) - (peak: 852560)
SELECT * FROM cms_layout_tpl_type WHERE originator = 'Search' AND name = 'searchform' LIMIT  1
Debug: (0.011447) - (net usage: 497864) - (peak: 855568)
SELECT * FROM cms_layout_templates WHERE type_id = '10' AND type_dflt = 1 LIMIT  1
Debug: (0.012585) - (net usage: 566848) - (peak: 976912)
Start Navigator breadcrumbs action
Debug: (0.012812) - (net usage: 585056) - (peak: 976912)
SELECT * FROM cms_layout_tpl_type WHERE originator = 'Navigator' AND name = 'breadcrumbs' LIMIT  1
Debug: (0.013057) - (net usage: 587480) - (peak: 976912)
SELECT * FROM cms_layout_templates WHERE type_id = '5' AND type_dflt = 1 LIMIT  1
Debug: (0.013543) - (net usage: 596096) - (peak: 976912)
SELECT * FROM cms_content FORCE INDEX (cms_index_content_by_idhier) WHERE content_id IN (23,30) ORDER BY hierarchy
Debug: (0.013831) - (net usage: 600360) - (peak: 976912)
SELECT * FROM cms_content_props WHERE content_id IN (23,30) ORDER BY content_id
Debug: (0.014198) - (net usage: 626512) - (peak: 984216)
SELECT * FROM cms_content FORCE INDEX (cms_index_content_by_idhier) WHERE content_id IN (32) AND active = 1 ORDER BY hierarchy
Debug: (0.014375) - (net usage: 629056) - (peak: 986760)
SELECT * FROM cms_content_props WHERE content_id IN (32) ORDER BY content_id
Debug: (0.014736) - (net usage: 647280) - (peak: 1004984)
SELECT * FROM cms_content_props WHERE content_id = 22
Debug: (0.015142) - (net usage: 649792) - (peak: 1007496)
SELECT * FROM cms_content FORCE INDEX (cms_index_content_by_idhier) WHERE content_id IN (24,25,26,27,28,29) AND active = 1 ORDER BY hierarchy
Debug: (0.015511) - (net usage: 661624) - (peak: 1019328)
SELECT * FROM cms_content_props WHERE content_id IN (24,25,26,27,28,29) ORDER BY content_id
Debug: (0.018364) - (net usage: 781512) - (peak: 1193344)
End Navigator breadcrumbs action
Debug: (0.018444) - (net usage: 758592) - (peak: 1193344)
Start Navigator default action
Debug: (0.01867) - (net usage: 778192) - (peak: 1193344)
SELECT * FROM cms_layout_templates WHERE name = 'Simple Navigation' LIMIT  1
Debug: (0.019136) - (net usage: 787240) - (peak: 1193344)
SELECT * FROM cms_content FORCE INDEX (cms_index_content_by_idhier) WHERE content_id IN (3,4,5,6,7,8,9,10) AND active = 1 ORDER BY hierarchy
Debug: (0.01975) - (net usage: 895520) - (peak: 1253224)
SELECT * FROM cms_content FORCE INDEX (cms_index_content_by_idhier) WHERE content_id IN (12,13,14,15,16,17,18) AND active = 1 ORDER BY hierarchy
Debug: (0.025744) - (net usage: 1029840) - (peak: 1466808)
End Navigator default action
Debug: (0.026071) - (net usage: 1052264) - (peak: 1466808)
SELECT * FROM cms_layout_tpl_type WHERE originator = 'News' AND name = 'summary' LIMIT  1
Debug: (0.026322) - (net usage: 1057056) - (peak: 1466808)
SELECT * FROM cms_layout_templates WHERE type_id = '6' AND type_dflt = 1 LIMIT  1
Debug: (0.026752) - (net usage: 1065784) - (peak: 1466808)
            SELECT SQL_CALC_FOUND_ROWS
                mn.*,
                mnc.news_category_name,
                mnc.long_name,
                u.username,
                u.first_name,
                u.last_name
            FROM cms_module_news mn
            LEFT OUTER JOIN cms_module_news_categories mnc
            ON mnc.news_category_id = mn.news_category_id
            LEFT OUTER JOIN cms_users u
            ON u.user_id = mn.author_id
            WHERE
                status = 'published'
            AND
        IF(start_time IS NULL AND end_time IS NULL,news_date <= NOW(),NOw() BETWEEN start_time AND end_time)ORDER BY mn.news_date desc LIMIT 0, 3
Debug: (0.026877) - (net usage: 1085408) - (peak: 1466808)
SELECT FOUND_ROWS() LIMIT  1
Debug: (0.02715) - (net usage: 1107688) - (peak: 1466808)
SELECT * FROM cms_module_news_fielddefs WHERE public = 1 ORDER BY item_order
Debug: (0.02743) - (net usage: 1111752) - (peak: 1469456)
SELECT * FROM cms_module_news_categories ORDER BY hierarchy
Debug: (0.02774) - (net usage: 1113536) - (peak: 1471240)
SELECT news_category_id,COUNT(news_id) AS cnt FROM cms_module_news WHERE news_category_id IN (1) AND ( IFNULL(start_time, '1970-01-01 01:00:01') < '2025-12-06 04:11:46')  AND (( IFNULL(end_time, '1970-01-01 01:00:01') = '1970-01-01 01:00:01') OR (end_time > '2025-12-06 04:11:46'))  AND status = 'published' GROUP BY news_category_id
Debug display of 'Start Load Smarty Plugin current_date/function':(0.036774) - (net usage: 1126392) - (peak: 1617616)
Debug display of 'End Load Smarty Plugin current_date/function':(0.036799) - (net usage: 1127320) - (peak: 1617616)
Debug: (0.0386) - (net usage: 1139448) - (peak: 1617616)
Start Navigator default action
Debug: (0.038945) - (net usage: 1164320) - (peak: 1617616)
SELECT * FROM cms_content_props WHERE content_id = 1
Debug: (0.039171) - (net usage: 1169320) - (peak: 1617616)
SELECT * FROM cms_content_props WHERE content_id = 2
Debug: (0.039389) - (net usage: 1172584) - (peak: 1617616)
SELECT * FROM cms_content_props WHERE content_id = 3
Debug: (0.039628) - (net usage: 1176832) - (peak: 1617616)
SELECT * FROM cms_content_props WHERE content_id = 4
Debug: (0.039829) - (net usage: 1180592) - (peak: 1617616)
SELECT * FROM cms_content_props WHERE content_id = 5
Debug: (0.040021) - (net usage: 1186928) - (peak: 1617616)
SELECT * FROM cms_content_props WHERE content_id = 6
Debug: (0.040215) - (net usage: 1190688) - (peak: 1617616)
SELECT * FROM cms_content_props WHERE content_id = 7
Debug: (0.04042) - (net usage: 1196000) - (peak: 1617616)
SELECT * FROM cms_content_props WHERE content_id = 8
Debug: (0.040625) - (net usage: 1199504) - (peak: 1617616)
SELECT * FROM cms_content_props WHERE content_id = 9
Debug: (0.040813) - (net usage: 1202512) - (peak: 1617616)
SELECT * FROM cms_content_props WHERE content_id = 10
Debug: (0.041) - (net usage: 1206280) - (peak: 1617616)
SELECT * FROM cms_content_props WHERE content_id = 11
Debug: (0.041205) - (net usage: 1211072) - (peak: 1617616)
SELECT * FROM cms_content_props WHERE content_id = 12
Debug: (0.041423) - (net usage: 1225800) - (peak: 1617616)
SELECT * FROM cms_content_props WHERE content_id = 13
Debug: (0.041611) - (net usage: 1228792) - (peak: 1617616)
SELECT * FROM cms_content_props WHERE content_id = 14
Debug: (0.041802) - (net usage: 1233608) - (peak: 1617616)
SELECT * FROM cms_content_props WHERE content_id = 15
Debug: (0.041985) - (net usage: 1237272) - (peak: 1617616)
SELECT * FROM cms_content_props WHERE content_id = 16
Debug: (0.042165) - (net usage: 1242584) - (peak: 1617616)
SELECT * FROM cms_content_props WHERE content_id = 17
Debug: (0.042345) - (net usage: 1245448) - (peak: 1617616)
SELECT * FROM cms_content_props WHERE content_id = 18
Debug: (0.042632) - (net usage: 1247704) - (peak: 1617616)
SELECT * FROM cms_content FORCE INDEX (cms_index_content_by_idhier) WHERE content_id IN (19,20,21) AND active = 1 ORDER BY hierarchy
Debug: (0.04285) - (net usage: 1254080) - (peak: 1617616)
SELECT * FROM cms_content_props WHERE content_id IN (19,20,21) ORDER BY content_id
Debug: (0.047428) - (net usage: 1328160) - (peak: 1744816)
End Navigator default action
Debug: (0.047592) - (net usage: 1311360) - (peak: 1744816)
Start Navigator default action
Debug: (0.04782) - (net usage: 1329568) - (peak: 1744816)
SELECT * FROM cms_layout_tpl_type WHERE originator = 'Navigator' AND name = 'navigation' LIMIT  1
Debug: (0.048091) - (net usage: 1333912) - (peak: 1744816)
SELECT * FROM cms_layout_templates WHERE type_id = '4' AND type_dflt = 1 LIMIT  1
Debug: (0.054385) - (net usage: 1393176) - (peak: 1827768)
End Navigator default action
Debug: (0.054631) - (net usage: 1411080) - (peak: 1827768)
SELECT * FROM cms_layout_templates WHERE name = 'footer' LIMIT  1
Debug: (0.056964) - (net usage: 1438648) - (peak: 1827768)
SELECT SQL_CALC_FOUND_ROWS S.id FROM cms_layout_stylesheets S LEFT JOIN cms_layout_design_cssassoc D ON S.id = D.css_id WHERE D.design_id = 5 ORDER BY D.item_order ASC LIMIT 0, 1000
Debug: (0.057143) - (net usage: 1456152) - (peak: 1827768)
SELECT FOUND_ROWS() LIMIT  1
Debug: (0.05751) - (net usage: 1489264) - (peak: 1846968)
SELECT id,name,content,description,media_type,media_query,created,modified FROM cms_layout_stylesheets WHERE id IN (4,10,7,1,2,3,13)