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
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
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
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
Hi Bart,
Do you have any sample to show me. I am really new with SS.
Thanks for your kind reply
Bunheng