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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

[SOLVED] A question of <% control %>


Go to End
Reply


9 Posts   907 Views

Avatar
ambient

Community Member, 123 Posts

12 November 2011 at 6:16am

Thanks Guys,

You da man JonoM. Thank you so much. I don't know why I didn't try the <% if Level(2) %> before as it seems so obvious (now that you've pointed it out :) )

The Reason I wanted it to work this way is the parent page title is also the main title for the section subpages. So I wanted the parent title as the main title for each page and then wanted the subpage title as the secondary title. Does that make sense? Anyhooo, you got me out of that pickle so thank you very much.

Also thanks for explaining the Level(x) controls, I had that all wrong in my head.

Go to Top