Forums Forums Search & Filter Pro SF Pro / Events Calendar Pro Question

Viewing 6 posts - 1 through 6 (of 6 total)
  • Anonymous
    #203234

    Hello Again,

    I hope I’m not testing your limits with this one. I’m using Events Calendar Pro (ECP) and have SF Pro working perfectly on the ECP generated Events page by adding the SF Pro shortcode to the before HTML box in ECP’s settings. However, due to the limitations of that page, and my need to display a full width featured image at the top, I created a separate page using the ECP shortcode to display all events in list form instead.

    By using the ECP shortcode on the new page, it also includes the SF Pro filter included in the ECP settings. Unfortunately it no longer filters the results. I trial’d and error’d many settings but I can’t get it to filter. I’m sure it has something to do with ECP taxonomies but I figured I would ask just in case there is a way to filter specific based on the page itself. The only way I managed to get it to work is by using the SF Pro Shortcode Display method on the new page but I would have to restyle everything from scratch and it doesn’t display everything. Was hoping to avoid that. 🙂

    Thank you in advance for any response.

    Trevor
    #203251

    What happens if you switch to our Custom display method and insert a second shortcode between the form shortcode and the ECP events listing, like this:

    [searchandfilter id="123456" action="filter_next_query"]

    Where you change the ID number to that of your form?

    Anonymous
    #203308

    Here’s what I’ve tried (I’m switching in my SF Pro IDs on the site)…

    1. Both [searchandfilter id=”123456″] and [searchandfilter id=”123456″ action=”filter_next_query”] in the Before HTML box of the ECP settings with SF Pro display settings set to Custom. I’ve placed the ECP shortcode alone in the new page I’ve created which is titled “Calendar”. The custom display settings url is http://myurl.com/calendar/.

    Result – The filter and events appear on http://myurl.com/calendar/ but the filter does not work and disappears as soon as I select something. The events appear but do not change. The results url is http://myurl.com/calendar/?_sft_tribe_events_cat=%5B“the category name”].

    2. Added both [searchandfilter id=”123456″] and [searchandfilter id=”123456″ action=”filter_next_query”] to the Calendar page followed by the ECP Shortcode (in that order). I removed any and all SF Pro shortcodes from the ECP Before HTML settings box.

    Result – “There were no results found.” error message. No events are generated. No SF Pro filter present.

    3. Added [searchandfilter id=”123456″ action=”filter_next_query”] and ECP Shortcode (in that order) to the calendar page and [searchandfilter id=”123456″] to the ECP Before HTML settings box.

    Result – SF Pro filter does appear but is followed by “There were no results found.” error message. No events are generated.

    4. Just for kicks, added [searchandfilter id=”123456″] and ECP Shortcode to Calendar page, [searchandfilter id=”123456″ action=”filter_next_query”] to the ECP Before HTML settings box.

    Result – SF Pro filter and events all appear. As you can imagine, it doesn’t work. SF Pro filter disappears after selection. Events all stay the same. Same overall result of Attempt #1.

    Trevor
    #203321

    mmm.

    Does that plugin have any hooks like a before loop action?

    Anonymous
    #203337
    This reply has been marked as private.
    Trevor
    #203357

    It looks like the only way we can get this working using their shortcodes would to be to develop an addon to specifically support that plugin. In the meantime, you would probably need to use our ‘Using a Shortcode` display results method and customise the results.php template. I have no doubt that we could do this, but as part of the V3 development cycle, probably in V3.1 or later, but not in V3.0. That would, therefore, be some time away yet.

Viewing 6 posts - 1 through 6 (of 6 total)