• Resolved GreWeb

    (@fil6718)


    Hi, I couldn’t find where to specify a particular contact for a particular event. Is it only in the Pro version?

    Thanks for your answer.

Viewing 8 replies - 1 through 8 (of 8 total)
  • You could add a custom attribute to display the contact.

    Thread Starter GreWeb

    (@fil6718)

    Yes, i know but i have seen in the help section that we can use all this tag :

    Contact Details
    The values here are taken from the chosen contact for the specific event, or the default contact in the settings page.

    #_CONTACTNAME
    Name of the contact person for this event (as shown in the dropdown when adding an event).
    #_CONTACTUSERNAME
    Contact person's username.
    #_CONTACTEMAIL
    E-mail of the contact person for this event.
    #_CONTACTURL
    Website of the contact person for this event.
    #_CONTACTPHONE
    Phone number of the contact person for this event. Can be set in the user profile page.
    #_CONTACTAVATAR
    Contact person's avatar.
    #_CONTACTPROFILELINK
    Contact person's "Profile" link. Only works with BuddyPress enabled.
    #_CONTACTPROFILEURL
    Contact person's profile url. Only works with BuddyPress enabled.
    #_CONTACTID
    Contact person's WordPress user ID.
    #_CONTACTMETA
    Display any user meta of a WordPress account by including the meta key, e.g. #_CONTACTMETA{dbem_phone}

    If you’re using BuddyPress then the contact person is the person that created the event. Anyone with the permission to edit events can go to the My Events page and create a new event.l

    Thread Starter GreWeb

    (@fil6718)


    Thank you for your response. in fact I’m looking for a way to assign an organizer for the events. It is not necessarily the one who creates or submits this event.

    Thread Starter GreWeb

    (@fil6718)

    So I’m going to use Custom Attributes. How can I test if a field is filled to display a section?

    Thread Starter GreWeb

    (@fil6718)

    If you create a custom attribute then you can use a conditional placeholder to conditionally display that field. For example:

    {has_att_Contact}#_ATT{Contact}{/has_att_Contact}

    So, you don’t need to create a code snippet to do this.

    • This reply was modified 2 months, 2 weeks ago by joneiseman.
    Thread Starter GreWeb

    (@fil6718)

    Your right !

    • This reply was modified 2 months, 2 weeks ago by GreWeb.
Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.