Change page view without losing filters?

Home Forums Calendar Products Events Calendar PRO Change page view without losing filters?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1010515
    fifteen15studios
    Participant

    I would like to make custom buttons which change the view. The Events Calendar already has these built in, but I would like to create my own buttons to make it fit better with our interface.

    How can I add a button link to my page which changes the view and also preserves all the filters I have for my page?

    For example, I want to change
    http://mysite.com/events/month?tribe_paged=1&tribe_event_display=list&tribe_eventcategory[]=23&tribe_cost[]=0-0&tribe_cost[]=0-25&tribe_timeofday[]=06-12

    to this
    http://mysite.com/events/today?tribe_paged=1&tribe_event_display=list&tribe_eventcategory[]=23&tribe_cost[]=0-0&tribe_cost[]=0-25&tribe_timeofday[]=06-12

    Thanks!
    Brendan

    #1010745
    Cliff
    Member

    Hi again, fifteen15studios.

    I tested both the PRO’s search and Filter Bar’s search and the query string parameters don’t get lost when switching views (e.g. from Month to Day).

    Here’s a gif of my testing in Firefox with PRO v3.12.2 and Filter Bar v3.12:

    Screen Recording 2015-10-01 at 10.18 PM

    If you’re not able to replicate this, maybe your Modern Tribe plugin(s) aren’t at the latest version(s) or there could be a theme or plugin conflict. Or if you have some custom functionality going on, maybe it’s not letting the MT plugin(s) behave in their normal manner.

    I’m looking forward to hearing back from you soon. Thanks.

    #1010754
    fifteen15studios
    Participant

    Thanks, but I think there’s been a misunderstanding. The functionality is fine with the built-in plugin, but I am planning to make my own custom button. Basically, I want to click a link <a href="">like this</a> and have it change the view without losing parameters. Do you have any advice about how I should accomplish this?

    #1011065
    Cliff
    Member

    I am now clear on what you’re asking for, and I appreciate your question and the desire to customize it for your use. However, we cannot provide such in-depth customization help, per our scope of support Terms.

    If there’s something else I can help you with, please update this ticket or create a new ticket if it’s a separate issue.

    Thank you very much for your understanding. You are a valued customer.

    If you do create a snippet, you’re welcome to reply back with the code so others could possibly benefit from it.

    Thanks!

    #1015561
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Change page view without losing filters?’ is closed to new replies.