Skip to main content
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
I'm taking another crack at developing this.
Following the tutorial at http://doc.silverstripe.com/doku.php?id=leftandmain I've got my console page showing that I can add menu options to etc.
What i need now is to build a form on the right to select a CSV file and upload it. I'll then work through the csv and
* parse the data (easy)
* add each row to the data table objects
Are there any examples of this being done? I'd love to shorten my learning curve by seeing how others have done it.
ps: using ulist in this post gave very unexpected results!
Here's an example of what I need to know...
<% control Items %>
<% end_control %>
How do I add to the Items array? I've ended up hardcoding it but it would be good to work it properly.
edit: just reviewed the forums code and seen that the Items array is ignored in favour of a coded tree