Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » 2 ArticleHolder on one Page

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: 1152 Views
  • nomidi
    Avatar
    Community Member
    2 Posts

    2 ArticleHolder on one Page Link to this post

    Would it be possible to put 2 ArticleHolder on one page ?

  • Fuzz10
    Avatar
    Community Member
    787 Posts

    Re: 2 ArticleHolder on one Page Link to this post

    Welcome to Silverstripe !

    There are more ways to achieve what you want.

    You can use :

    <% control ChildrenOf(page-url) %> to immediately get all children from your holder

    or you could use
    DataObject::get_one or DataObject::get to obtain your Articleholder in your PHP class

  • nomidi
    Avatar
    Community Member
    2 Posts

    Re: 2 ArticleHolder on one Page Link to this post

    thx !

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