Support » Plugin: Events Manager » [Plugin: Events Manager] Sorting events in a calendar by custom attribute

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Marcus

    (@netweblogic)

    wouldn’t advise using attributes (if you mean the ATT placeholder), because it’s stored as a serialized array in the db

    if you check the tutorials (e.g. the walkthrough), you could create a custom search attribute and yes, it would work!

    Thanks for the advice. I’m following along with the walkthrough like you suggested. I’m stuck at where I’m inserting new data into the EM_META_TABLE. I think I have the object_id and meta_key correct but I’m not sure how to pull the correct meta_value.

    I’m using a radio field with only two options (yes/no). In the walkthrough, the checkbox form is given values of the variable $style_id, and this variable is added to the meta_value of the new table entry. Since my radio field has two options with values of “yes” and “no” I don’t have a variable to plug in using the INSERT TO command.

    I think this is more a generic programming block for me than an EM problem, so I am not expecting a lengthy step by step explanation of what to do. If it’s short and easy to show me how, then great. Otherwise if you could point me to a good place to find how to solve this issue, I would be very grateful.

    Thanks again!

    I figured out my programming problem on my own. Thank you though, I know the question was out of scope of this plugin’s support.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Events Manager] Sorting events in a calendar by custom attribute’ is closed to new replies.