Events Made Easy Forums How do I … How do i change code so that..

Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #43538
    Anonymous
    Inactive

    [events_locations link=true eventful=true scope=xxx] gives me an alphabetical list?

    #48785
    Franky
    Keymaster

    The events are shown by date, not alphabetically. If you want that, look into the eme_event_list_filter filter at hand:

    http://www.e-dynamics.be/wordpress/?cat=41

    #48786
    Anonymous
    Inactive

    But I was asking about locations. I assume I should do the same thing about that, too. Ok, thanks. I will try to do that.

    #48787
    Franky
    Keymaster

    Well, I just checked it for locations: they are ordered by default, but just not when “eventful” is choosen. I’ll change that.

    #48788
    Franky
    Keymaster
    #48789
    Anonymous
    Inactive

    That worked! Thank you very much. But a little problem: locations that start with foreign characters or lowercase characters are at the end of the list. That’s not the case with default listing without the eventful option. Not really a big problem, though. Thanks.

    #48790
    Franky
    Keymaster

    Without the eventful option, it’s mysql that does the sorting. With eventful, I use the “ksort” function in php, so that’s why it behaves a bit different. I can solve the upper/lowercase thingie though

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘How do I …’ is closed to new topics and replies.
Scroll to Top