Jump to:

23378 Posts in 18298 Topics by 2867 members

General Questions

SilverStripe Forums » General Questions » How to edit multiple DataObjects in front-end?

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 1291 Views
  • Johnny N
    Avatar
    Community Member
    2 Posts

    How to edit multiple DataObjects in front-end? Link to this post

    This question was already asked 11 months ago here. I wonder if anyone has come to a solution by now? Cheers.

  • dalesaurus
    Avatar
    Community Member
    283 Posts

    Re: How to edit multiple DataObjects in front-end? Link to this post

    Have a look at the Diary module to get an idea of what you will need to build. It has both front and back end forms editing, it should get you pointed in the right direction.

    http://silverstripe.org/diary-module/

    There are many ways to solve this but you're going to have to get your hands dirty.

  • Johnny N
    Avatar
    Community Member
    2 Posts

    Re: How to edit multiple DataObjects in front-end? Link to this post

    Thanks for the hint! But if I'm interpreting the code of the Diary module correctly it provides a list of events with corresponding edit-links that lead to a form where you can edit a single event, what is not quite exactly what I'd like to build.

    What I am looking for is someting like an editable list. Let's say users should be able to list their biggest wishes. How can I build a form that gets populated with already existing wishes as values in input fields or – if the user is new – shows for example four blank input fields (with the option to insert more by jQuery). Is their a built-in functionality for anything like that or do I have to get my hands really dirty?

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