Support » Plugin: Event List » Category selection may fail

  • Resolved rkyburz

    (@rkyburz)


    Since upgrading to version 0.8.0, selecting categories in the editor fails if the category name includes a blank (& maybe other characters?). For displaying events of a specific category, I found the URL modifier:
    (Site URL)/event-list/?cat1=cat_name
    and also the same with date restriction, e.g.
    (Site URL)/event-list/?cat1=cat_name&date1=2017
    or
    (Site URL)/event-list/?cat1=cat_name&date1=all
    *However*, also this fails if the category name includes a blank and/or possibly other special characters. I really miss the option to select an event category via drop-down menu!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Addition: _some_ categories with blank can be selected in the Web GUI (not for editing, though), e.g.:
    (Site URL)/event-list/?cat1=Chamber+music&date1=all
    where the category name is “Chamber Music” — but that only works for _some_ categories, i.e., at the very least, the filter is very erratic.

    Category selection in the editor GUI fails completely (no events shown at all).

    Plugin Author mibuthu

    (@mibuthu)

    In the selection the category slug has to be used. Slugs do not have spaces.
    Have you added the “cat_name” in the url manually?
    Can you give a more exact description of “selecting categories in the editor fails if the category name includes a blank”. A step-by-step procedure description would be great for reproducing your issue.

    OK, if I construct a URL with the category slug, that works fine, indeed — but I don’t see the category drop-down modify the URL (and with the drop-down, the menu items are collected internally anyway). Once I have a category selector in the URL, selecting a year (standard GUI, i.e., simple [event-list] shortcode), selecting a year will modify the year, but the category selector stays in — looks like I need a reset option to remove it, or call the plain URL again… There seems to be a disconnect between the category dropdown and the new URL-based selection mechanism?

    Plugin Author mibuthu

    (@mibuthu)

    Should be fixed with todays released version 0.8.2

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Category selection may fail’ is closed to new replies.