2010-10-06, 20:33:24
Zegnåt Wrote:GetSimple never goes any deeper than 2 levels, and an expansion of this limit hasn't been planned (as of yet). So all you need to do is check whether $parent exists and is a valid non-empty string. If it doesn't exist or is empty you're at the top-level. If it exists and is a string, you're on a child page.
Thanks for your fast answer.
The variable $parent does not seem to exist. How do you create it?
Furthermore I would need some kind of "get_parent_page_url()" and "get_parent_page_title()" to display the name and URL of the parent. I can't find anything about that in the GetSimple-Documentation.
My breadcrumb looks like this: