Dan

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Showcase 2.0 #20493
    Dan
    Participant

    We just soft-launched ours over the weekend, but I think it’s now ready for primetime.
    http://www.fourcornersevents.info/

    in reply to: Can I turn off AJAX loading in grid calendar view #19051
    Dan
    Participant

    Thanks Katherine! That works perfectly.

    in reply to: Can I turn off AJAX loading in grid calendar view #18961
    Dan
    Participant

    As an update to Wes, I’m working on a similar thing to hide by category. It seems to me we should just be able to attach to the pjax load (according to the pjax documentation https://github.com/defunkt/jquery-pjax), as in $(document).on(‘pjax:complete’,function() { rerunHideOrShowFunction();});

    However, when I run that I can’t get it to do anything, even when I attach it to $(‘#tribe-events-content’) instead of $(document). I’m not looking to make you do a tremendous amount of work, but is that the proper way to attach custom js on a new month load?

    in reply to: Get list of all venues #18388
    Dan
    Participant

    So I was able to get it out of the database using

    $venues = $wpdb->get_col(“SELECT meta_value FROM $wpdb->postmeta WHERE meta_key = ‘_EventVenueID'”);

    then running it through array_unique(); and running that list through tribe_get_venue(). Is this the best way to do it, or do you have a function that doesn’t require running it through a DB query?

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