Jump to:

5450 Posts in 1672 Topics by 1197 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Select multiple articles

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

Page: 1
Go to End
Author Topic: 615 Views
  • bunheng
    Avatar
    Community Member
    69 Posts

    Select multiple articles Link to this post

    Hi There,

    I am looking a way to select multiple articles to show up on template, is there any possible way to make it happen?

    Thanks
    Bunheng

    @Bart: Sorry for wrong typo

  • bartvanirsel
    Avatar
    Community Member
    88 Posts

    Re: Select multiple articles Link to this post

    Hi Bunheng,

    I don't think Silverstripe is that advanced yet to let articles show up in a temple
    I guess that was a typo and you meant template.

    You can get a method in your Controller (DataObject::get or SiteTree::get) to get multiple Articles (pages or Dataobjects) or you can do
    control children in your template file.

    Hope this helps,

    Best regards,

    Bart

  • bunheng
    Avatar
    Community Member
    69 Posts

    Re: Select multiple articles Link to this post

    Hi Bart,

    Do you have any sample to show me. I am really new with SS.

    Thanks for your kind reply
    Bunheng

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