Adding event -> location search by name and Town – front end
-
Hello.
I’m struggle with it for quite some time now.
I want to achieve the following: user need to be able search existing location (in add new event page, egz: [event_form] or url …/mt-events/?action=edit) not only by
location_name
but also bylocation_town
(location_name
or location_town` or …?)
Before last update i was able change query inplugins/events-manager/em-actions.php
from (~line 215):
WHERE ('location_name' LIKE %s) AND ....
to:
WHERE ('location_name' OR 'location town' LIKE '%s') AND ...
But now this trick dose not working any more ;(And I cant figure it why. If some one help me with this, give a clue, w/e …
Thank You ??
edited:
hmmbackticks
isnt working?
- The topic ‘Adding event -> location search by name and Town – front end’ is closed to new replies.