Edit multiple pods on one edit screen?

This topic is: not resolved

This topic contains 11 replies, has 5 voices, and was last updated by  3rdcorner 9 months, 2 weeks ago.

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #163320

    scottnath
    Member

    Hi,

    I’m building a database of theatre events and so far pods is working perfectly. I’m just looking to make it easier to update/add/edit events.

    Pods I have + their contents:

    <br>
    Events

    • –name
    • –venue
    • –producer
    • –cast (pick: Cast – multiple)
      <br>
      Cast
    • –Name
    • –role
    • –event (pick: Event – single)
    • –person (pick: People – single)
      <br>

    People

    • –Name
    • –cast member (pick: Cast – multiple)

    <br>

    What I’m trying to do:

    I want a single edit page for an event where I can add/edit cast members; and inside the add/edit cast members area I can add/edit people (pulled as a Pick from the people pod.)

    Is something like this possible?

    #163321

    clarinetlord
    Participant

    Are you talking about a similar kind of functionality to the WP post edit page, where you can add new categories on the fly without creating them first on the categories page? This kind of functionality is possible, but requires an input helper to display the secondary pod fields, a pre-save helper to save this secondary pod data, and a lot of javascript to handle an expanding table to add new items on the fly. I’m working on a package to do this, and I’ll let you know when I’m done with it.

    #163322

    scottnath
    Member

    Yes, that’s pretty much exactly what I’m talking about.

    I was hoping there’d be an easy way to just include an existing form (the Cast form) into the Events edit page.

    Or possibly a way to have the Cast form come up in a popup/dialog. Say if you click a link next to an existing Cast member or an ‘add cast member’ link.

    Anyway, that’s great you’re working on something like this. What kind of a timeframe are you looking at?

    thanks,
    Scott

    #163323

    sc0ttkclark
    Keymaster
    Post count: 803

    I’d actually recommend utilizing the Pods API and using Input Helpers or Output Buffering to adjust the form, then running a post-save helper. You could setup dummy fields on the first pod with a field name you can utilize within your post-save helper.

    #163324

    sc0ttkclark
    Keymaster
    Post count: 803

    @clarinetlord – This will actually be built into the new Form API / UI that I’m working on for Pods UI, it will have the ability to add / edit Pod data related to a PICK column, and customize which fields should be shown / editable.

    #163325

    scottnath
    Member

    Thanks @clarinetlord – I look forward to playing with your system.

    @sc0ttkclark I’ve been playing with Pods UI. Really great stuff. Not surprised you’re gonna add this into your api. I was looking around in there to see if I was missing how to use this feature because that would match the rest of the functionality.

    #163326

    clarinetlord
    Participant

    I have added the package I was working on that attempts some of this functionality:

    http://podscms.org/packages/inline-pick-form/

    I would greatly appreciate feedback for improvement! Thanks.

    #163327

    scottnath
    Member

    Hi,

    Was this added to pods UI?

    thanks,
    Scott

    #163328

    mortensn
    Member

    Scott, I’m actually looking to incorporate a DB of theatre events/casts in my area as well. I’d love to see an example of what you’ve accomplished with Pods

    #168117

    3rdcorner
    Member

    Has anyone come up with a viable solution for this?

    I’d rather not re-create the wheel on this one, but might have to.

    #168119

    sc0ttkclark
    Keymaster
    Post count: 803

    We’re looking into adding a new loop field that handed both real data items via relationships as well as one-off items that exist unique to that content only. This is one of the currently planned 2.1 features, already under design and development as we speak just as 2.0 readies for it’s home stretch and beta.

    #168142

    3rdcorner
    Member

    Good to know. I need this now so I’ll hack away at it. Still looking forward to v2.0 of Pods CMS, thanks for the contributions it makes WordPress something fun to work with.

Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.

Wordpress Cloud Hosting