• Resolved bep_11

    (@bep_11)


    Hi,
    maybe my understanding is not correct….
    I can assign custom attributes to locations and to events.
    Let’s assume the location is a metro station and I assign a custom attribute “line” where I enter the metro line.
    Then I define a event for next Sunday and assign the previously defined metro station.
    Now I want to print on the event list and the event details the metro station and the “line” – but this is not working.

    If I assign the custom attribute “line” to the event, I can print it on the event list and the event detail screen.

    Wouldn’t it be useful to have location attributes #_LATT and event attributes #_ATT?
    Right now custom attributes for events don’t serve any purpose.

    https://www.ads-software.com/plugins/events-made-easy/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Franky

    (@liedekef)

    The doc, read the doc:
    https://www.e-dynamics.be/wordpress/?cat=25

    #_ATT{xx}[{yy}] (with xx being an attribute name, and the second braces with {yy} are optional) allows to get the value for an attribute (with ‘yy’ being the default value if nothing has been entered. See the chapter about “Custom attributes” to learn more.
    #_EVENTATT{xx}{yy} (with xx being an event id and yy being an attribute name) allows to get the non-default value for an attribute from another event. E.g, for eventid 3 and attribute “my_att”: #_EVENTATT{3}{my_att}
    #_MYLOCATIONATT{xx} (with xx being an attribute name) allows to get the value for an attribute of the location for this event

    Thread Starter bep_11

    (@bep_11)

    Franky,
    thanks a lot! I did read the doc but must have overseen the latter two paragraphs.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom attributes, location and events’ is closed to new replies.