Support » Plugin: Participants Database » view private_ID front end

  • Resolved Johann

    (@waxsolutions)


    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/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author xnau webdesign

    (@xnau)

    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.

    Johann

    (@waxsolutions)

    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

    Plugin Author xnau webdesign

    (@xnau)

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

    Johann

    (@waxsolutions)

    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

    Plugin Author xnau webdesign

    (@xnau)

    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’]

    Johann

    (@waxsolutions)

    Very Good morning to you… if it is?

    Thank you very much and I will try it.

    Have a good day

    Johann

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘view private_ID front end’ is closed to new replies.