Ok, so have a variable length array and I want to display it.
How exactly do I do that?
Also,
is there some way that I can get a function to output html, that will be displayed?
Thanks!
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.
Ok, so have a variable length array and I want to display it.
How exactly do I do that?
Also,
is there some way that I can get a function to output html, that will be displayed?
Thanks!
I think you can use something called ArrayData which will convert your array into a viewable data object which you can iterate through / use in your template - http://doc.silverstripe.com/doku.php?id=arraydata