Jump to:

10930 Posts in 2613 Topics by 1810 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: 769 Views
  • sca123
    Avatar
    Community Member
    61 Posts

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

    Hi

    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.

    Thanks
    Samuel

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