Jump to:

23450 Posts in 18899 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » [SOLVED] A question of <% control %>

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

Page: 1 2
Go to End
Author Topic: 738 Views
  • ambient
    Community Member
    123 Posts

    Re: [SOLVED] A question of <% control %> Link to this post

    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.

Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.