breadcrumbs tag
Welcome to the official CMS Made Simple documentation pages. We make a continuous effort to keep the information here up to date! However, dear user, we highly value your assistance in the process.
We need your assistance to make the documentation accurate, user friendly and understandable. Therefore we welcome any tips or suggestions regarding documentation. Thank you in advance for your contribution.
However, we will not respond to technical support questions submitted using this form. If you are having difficulty with CMSMS and cannot find the solution on this website, please submit your question appropriately on our support forum at: http://forum.cmsmadesimple.org. Please remember to follow the forum rules when posting.
This function is deprecated!
Use now: {cms_breadcrumbs}
Purpose
Prints a breadcrumb trail. Breadcrumbs are a navigational technique displaying all visited pages leading from the home page to the currently viewed page.
How to use?
Just insert the tag into your template/page like:
- {breadcrumbs}
Available parameters
- delimiter - Text to seperate entries in the list (default ">>").
- initial - 1/0 If set to 1 start the breadcrumbs with a delimiter (default 0).
- root - Page alias of a page you want to always appear as the first page in the list. Can be used to make a page (e.g. the front page) appear to be the root of everything even though it is not.
- root_url - Override the URL of the root page. Useful for making link be to '/' instead of '/home/'. This requires that the root page be set as the default page.
- classid - The CSS class for the non current page names, i.e. the first n-1 pages in the list. If the name is a link it is added to the <a href> tags, otherwise it is added to the <span> tags.
- currentclassid - The CSS class for the <span> tag surrounding the current page name.
- starttext - Text to append to the front of the breadcrumbs list, something like "You are here".
- assign - Assign the results to the named smarty variable.
Syntax examples
- {breadcrumbs delimiter='»' initial='1'}
Previous page: anchor tagNext page: browser_lang tag




