Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Custom Table Administration

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 2775 Views
  • sarahk
    Avatar
    Community Member
    46 Posts

    Custom Table Administration Link to this post

    I've created 3 new tables for my SilverStripe site and now I need to manage them. Each table needs to be administered.

    I've created a controller and I can see my form showing on the site (doesn't do anything yet).

    In the admin section I can see my "page" and it's looking like a content page right now. I need it to have 3 separate forms
    * to add/edit/delete rows in table 1
    * to add/edit/delete rows in table 2
    * to upload csv files, groom data and insert into table 3

    If I create something like the NewsHolder::NewsPage concept for this won't I end up with a similar structure at the front?

    What is the best approach for working wiht this?

    thanks

    Sarah

  • xmedeko
    Avatar
    Community Member
    94 Posts
  • sarahk
    Avatar
    Community Member
    46 Posts

    Re: Custom Table Administration Link to this post

    Thanks, that gives me something to get started with

  • sarahk
    Avatar
    Community Member
    46 Posts

    Re: Custom Table Administration Link to this post

    Thanks

    I used the tutorial at http://doc.silverstripe.com/doku.php?id=leftandmain and changed the classname to GenericDataAdmin. I've got the base screen up so now i can start to play

    Is the artist who did the buttons available to do more?

  • sarahk
    Avatar
    Community Member
    46 Posts

    Re: Custom Table Administration Link to this post

    I've been off this project for a bit and back at it now, trying to work out what I should be putting in my javascript so that it catches the correct info on the left and makes the correct call to the right.

    Are there any tutorials on how to extend LeftAndMain_left.js?

  • elijahlofgren
    Avatar
    Google Summer of Code Hacker
    222 Posts

    Re: Custom Table Administration Link to this post

    > Are there any tutorials on how to extend LeftAndMain_left.js?

    I think you were able to work this out in #silverstripe yesterday?

    05:37 < sarahk> elijah - who do we submit changes to the docs to?

    Hi Sarah,

    If you want to edit the wiki simply register and then login.

    If you are talking about the API docs, you can submit a patch on the Contributions forum.

    Hope this helps,

    Elijah

  • sarahk
    Avatar
    Community Member
    46 Posts

    Re: Custom Table Administration Link to this post

    Thanks Elijah

    I wouldn't touch the api docs but I have stuff to add on the tutorial... not all the way through yet but I know alot more than I did!

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