Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Themes /

Discuss SilverStripe Themes.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Creating themed directories?

Go to End



Community Member, 17 Posts

4 February 2012 at 8:43am

I want to do something like this:

--- home
--- about us
--- something
--- home
--- about us
--- something

I want to theme each "folder" for a particular branch. Any ideas on how to do a conditional statement to get the top most parent for any particular segment?