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

Viewing 5 posts - 1 through 5 (of 5 total)
  • 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 5 posts - 1 through 5 (of 5 total)