Custom Fields
Re-Envisioned
Support General Custom File Actions

  • Creator
    Topic
  • #28662
    sherwin_flight
    Participant

    Screenshot

    Beside each file there's a Delete and/or Edit link. Have you considered adding a filter/hook to allow users to add custom actions in this space?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #28682
    Long Nguyen
    Moderator

    Hi Sherwin,

    Not yet. Two actions: edit the file and delete it are enough for basic behavior. Can you please share your thoughts?

    #28777
    sherwin_flight
    Participant

    This is what I've created. I used jQuery to insert the links so that the plugin code didn't need to be modified.

    Basically we just need a way to specify an icon, and a callback name, and pass the post ID along to it.

    #28784
    Long Nguyen
    Moderator

    Hi Sherwin,

    Thank you for your feedback.

    I think we should keep the field simplest as possible, each field will support its own option. You can create a group and add more subfields like email, post next to the file.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.