Jump to:

23456 Posts in 18905 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » ss3 <% control Top %> function, gone... FIXED

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
Go to End
Author Topic: 219 Views
  • Futureweb
    Avatar
    Community Member
    232 Posts

    ss3 <% control Top %> function, gone... FIXED Link to this post

    Hi,

    FYI, the Silvestripe 3 template info page states that <% control Top %> has been removed, and has no direct replacement....

    This got me stuck for a while, until I found you can achieve the same with

    <% with ClassName %>

    <% end_with %>

    and target the ClassName of the top level page

    219 Views
Page: 1
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.