Event Manager: Search not working when its formatted using event-list template
-
Hi Marcus let me start off by saying its a great plugin, well done you guys.
I am new here so don’t know how things work around here, i hope this doesn’t become a repost of https://www.ads-software.com/support/topic/events-manager-search-does-not-work?replies=11#post-4476935
But unfortunately I am having a problem; the search doesn’t work
– if i type the name in the search box
-if i choose the dates from the datepicker
In both cases it shows all the events.
Only the relevant category from dropdown menu works.(I am not using location in search)I have upgraded it to Version 5.4.4.2. Same issue when i change my theme to Twenty Twelve. I found out that the search stops working when i change the format in wp-content\themes\twentytwelve\plugins\events-manager\templates\events-list.php.
But when i put the same format via the dashboard under events > settings > formatting tabs the search works fine.
In my template file the only change i am making is instead ofecho EM_Events::output( $args );
i am usingecho EM_Events::output(array('scope'=>'future', 'limit'=>3,'format'=>'<li> <div class="date-box"> <span class="month">#M</span> <span class="date">#j</span> <span class="day">#D</span> </div> #_EVENTIMAGE <div class="course-excerpt"> <h1>#_EVENTNAME</h1> <span class="short">#F #j,#Y | #h#a GMT #P hrs</span> #_EVENTEXCERPT<a href="#_EVENTPAGEURL" class="more">More Details</a> <div class="footer"><a href="#" class="enroll">Enroll</a><span class="price">#_EVENTPRICERANGE </span><span>16 PDUs</span></div> </div> </li>'));
Can you tell me what could be the problem? I need it in a template file cause i am planning to bring in values from custom fields later.
I hope this is the right place to find help ??
- The topic ‘Event Manager: Search not working when its formatted using event-list template’ is closed to new replies.