GenerateBreadcrumbs
Outputs a series of breadcrumbs (a list of the page and its parents similar to a directory path) for a given page. To get a page's parents in a variable, see GetParentage.
Prototype
function GenerateBreadcrumbs($PageID, $ParentID = NULL, $delimiter = ">")
Parameters
- $PageID - a page in the CMS database (usually $CurrentPageID)
- $ParentID - the root page for this set of breadcrumbs. If $ParentID is NULL or doesn't represent a page in the requested page's parentage, GenerateBreadcrumbs will track back to the site root instead.
- $delimiter - a string of text inserted in between each link in the set of breadcrumbs. If this parameter is not specified, the delimiter will be ">" - the HTML equivalent for the ">" sign.
Return Values
This function does not return any data.