Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » nesting control block

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 1321 Views
  • mhmmd_nauman
    Avatar
    Community Member
    3 Posts

    nesting control block Link to this post

    please help me how to implement the nested contol such as

    <% control getMotionGallery(10,1) %>
    // $ID comes from outer control
    <% control getImagesInFolder($ID,10) %>
        // some statements;
    <% end_control %>
    <% end_control %>

  • dio5
    Avatar
    Community Member
    501 Posts

    Re: nesting control block Link to this post

    You can't pass variables to template functions afaik. However this might have been changed in the latest version.

    1321 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.