-
Notifications
You must be signed in to change notification settings - Fork 5
Properties
opengeek edited this page Oct 29, 2010
·
2 revisions
The following properties are available for the quickcrumbs Snippet.
- tpl - Name of a Chunk serving as a template for a Resource crumb. NOTE: If not provided, properties are dumped to output in a pre element for each crumb
- siteStartTpl - An optional Chunk serving as a template for the site_start. Defaults to the tpl if not provided.
- selfTpl - An optional Chunk serving as a template for the current Resource crumb. Defaults to the tpl if not provided.
- outerTpl - An optional Chunk serving as a wrapper template for the complete crumbs output. Defaults to empty, returning the output as is.
- fields - A comma-separate list of fields to select from the resource as placeholders. NOTE that id, class_key, and context_key are always selected. Defaults to 'pagetitle,menutitle,description'
- showSiteStart - Indicates if a crumb representing the site_start Resource should be generated. Defaults to 1 (or true).
- showSelf - Indicates if a crumb representing the current Resource should be generated. Defaults to 1 (or true).
-
separator - A string to use as a separator between crumbs. Defaults to
» - toPlaceholder - If not empty, the output is saved to a placeholder with the specified name instead of returned directly from the Snippet. Default is empty.
- debug - If true, debugging information will be sent to the MODx log. Defaults to 0 (or false).
- parentTitlesPlaceholder - If not empty, pagetitles of all the parent crumbs are compiled and set as a placeholder with the specified name, for use in the content of your Resource. Default is empty.
- parentTitlesReversed - Indicates if the parent pagetitles should be output in reverse order. Default is 0 (or false).
- titleSeparator - A separator to use in between pagetitles used in the parentTitlesPlaceholder.