- This topic has 6 replies, 2 voices, and was last updated 13 years, 1 month ago by .
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- The forum ‘How do I …’ is closed to new topics and replies.
Events Made Easy › Forums › How do I … › How do i change code so that..
Tagged: locations
[events_locations link=true eventful=true scope=xxx] gives me an alphabetical list?
The events are shown by date, not alphabetically. If you want that, look into the eme_event_list_filter filter at hand:
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.
Well, I just checked it for locations: they are ordered by default, but just not when “eventful” is choosen. I’ll change that.
Please try this change:
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.
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