franck

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: Event page : previous and next events #20717
    franck
    Participant

    Or could we make the ajax switch to http://akryl.me/bund18-wordpress/events/category/exhibitions/2012-06/ URL ? I don’t mind changing the JS, this is the only page were we need the calendar.

    in reply to: Event page : previous and next events #20692
    franck
    Participant

    OK. The site is up on a test server. It’s on this page : http://akryl.me/bund18-wordpress/art-culture/18gallery/

    To reach the calendar scroll down and click on calendar. It’s in a hidden by default div.

    Here is the code we use for the list :

    In the page template :

    In list.php :
    global $post;
    $all_events = tribe_get_events(
    array(
    ‘eventDisplay’=>$eventTiming,
    ‘posts_per_page’=>10,
    ‘tax_query’=> array(
    array(
    ‘taxonomy’ => ‘tribe_events_cat’,
    ‘field’ => ‘slug’,
    ‘terms’ => $eventCategory
    )
    )
    )
    ); ?>

    To get a filtered calendar with the category we do this :

    I know the AJAX calendar works if you keep the plugins URLs like :
    http://akryl.me/bund18-wordpress/events/category/exhibitions/2012-06/

    I think the AJAX calendar is based on the URL, any way we can change that ?

    in reply to: Event page : previous and next events #20660
    franck
    Participant

    What I mean is that I would like the AJAX calendar not to alter the url of the browser, I don’t know it that’s possible.

    The biggest issue I have though is the fact that when I click next or previous on the calendar it doesn’t care about the category of event I specified earlier. We have exhibitions and installations, I would like one calendar that shows only exhibitions.

    We don’t use the plugin’s event pages but we embed the calendar in our pages templates.

    I’ll get back to you when we put the site online so that you can check it out.

    in reply to: Event page : previous and next events #20610
    franck
    Participant

    OK the next and previous links are working perfect with the plugin you suggested thank you. I’m still have the “issues” with the calendar though.

    in reply to: Event page : previous and next events #20608
    franck
    Participant

    OK. I will look into it. But why isn’t there an option in the tribe_get_next_event_link() to restrict it to the current event’s category. It seems to be a good feature for the function. What we have in our website are really separate categories of events that we do not want to mix. We managed to get the calendar working with only one category, why not the links ?

    In fact we have another issue with the calendar, the AJAX is actually messing up our URL since we don’t use the standards event pages paths. It is also loading all categories when we push next even if the current month view first loaded is limited to one. So two questions on the calendar :

    Is there a way to make the AJAX calendar not changing the url of the browser ?
    Is there a way to make it stay on the current filtered category ?

    Thanks for your support !

    in reply to: Event page : previous and next events #20450
    franck
    Participant

    Is it possible to get the next and previous event in a category of events ? I can’t find anything in the doc that says yes.

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