WordPress.org

Ready to get started?Download WordPress

Forums

Participants Database
[resolved] view private_ID front end (7 posts)

  1. waxsolutions
    Member
    Posted 1 year ago #

    Hi Xnau,

    Most important, I would like to see the private_ID in the pdb_list or pdb_record template that I created.

    The reason: I use the database for my staff to input records but there is no way for them to update the record from the front end unless they go to the back end and copy the private_id in the link field that I provided.

    Please is there a way or code that I can put in the template to make the private_ID visible so they can copy and paste it when they create a record?

    Thank you very much for your help.

    Johann

    http://wordpress.org/extend/plugins/participants-database/

  2. xnau
    Member
    Plugin Author

    Posted 1 year ago #

    Johann,

    Sorry-- I'm just seeing this now. You can include the private ID in the list if you define the fields to show in the shortcode:

    [pdb_list fields="last_name,first_name,private_id"]

    You have to put in all the fields you want to show in the list.

  3. waxsolutions
    Member
    Posted 1 year ago #

    Hi Roland,

    Yes, I know how to do that.
    I just wanted to know if I can put the Private_ID in the pdb_single?
    Like this my staff can make the records on the database updatable from the front-end instead of using the email.

    Please if there is a way let me know.
    At the moment they need to go from the front-end to the back-end to make it updatable... its a long process.

    Thank you if you can find a way.

    Johann

  4. xnau
    Member
    Plugin Author

    Posted 1 year ago #

    OK, did you try defining the fields in the [pdb_single] shortcode?

  5. waxsolutions
    Member
    Posted 1 year ago #

    Hi,
    What do you mean?
    [pdb_single field='private_id']?

    something like that?

    I tried to create the field for the private id in the pdb_single but it won't let me.

    Any ideas will be great as I think I exhaust all my resources.

    Thank you

  6. xnau
    Member
    Plugin Author

    Posted 1 year ago #

    Well, it is possible to define the fields that appear using the "fields" attribute in the shortcode, but the "private_id" field is not available for inclusion with the single record shortcode. You'll have to use a custom template. The private ID vale is available by accessing the participant values array like this: $this->participant_values['private_id']

  7. waxsolutions
    Member
    Posted 1 year ago #

    Very Good morning to you... if it is?

    Thank you very much and I will try it.

    Have a good day

    Johann

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic