Events Made Easy Forums How do I … Custom field only visible for administrators

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #63689
    Kevin_VB
    Participant

    Hi Franky,

    we are using the plugin since the end of 2021 more and more (great plugin 🙂 )
    and I was wondering the following:
    There was already a kind of system in excel where members had their own member id.(before we switched to EME)
    Only afterwards someone told me that the old member id’s do matter and since I am not a fan of messing around with autonumber fields, I tried to implement the old member id right next to the eme member id by using a custom field.

    But I want the user not be able to see or change, so created a <td> with hidden property on the template, but then the field is also hidden for the administrator.
    Any idea’s for a better approach?

    Kind regards,
    Kevin

    #63690
    Franky
    Keymaster

    Check out [eme_if] and check for the value of #_IS_ADMIN_PAGE , that should help.

    #63691
    Kevin_VB
    Participant

    Great tip,thanks!

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