Jump to:

11001 Posts in 2733 Topics by 1823 members

All other Modules

SilverStripe Forums » All other Modules » Subsites Virtual Page and <% control Children %>

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 793 Views
  • sca123
    Community Member
    61 Posts

    Subsites Virtual Page and <% control Children %> Link to this post


    I am using the subsites module in order to share a common list of caravan stock across three other sites. In my "main site", I have a tree for which the level1 (StockList) has multiple level2 pages (StockItem).

    I have then linked the stocklist pages in the other three sites to the level1 "main site" page. Testing demonstrates that the content of that level1 page is brought in fine, however if I use <% control Children %> to bring in the content from the level2, nothing is brought into the page.

    Any ideas? I've also tried using a custom controller in StockList.php.


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.