Hi,
I'm looking to show a different header and footer in my templates depending on whether the current page has a certain ancestor.
So if the url has
www.mysite.com/us/mycategory/mypage perform one action
else
if the url has
www.mysite.com/nz/mycategory/mysubcategory/mypage perform another action.
I want to show one header and footer for us and another for nz. The page could be a variable number of levels down the heirarchy. Is there anything in SilverStripe to do this?
Thanks,
Nick