agape

Forum Replies Created

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • in reply to: View As "List" Gets Stuck in FireFox #58966
    agape
    Participant

    Firefox is now working for me as of the 3.0.3 update. Nice work Tri.be team! Thanks!!

    in reply to: Calander views not working #58058
    agape
    Participant

    Barry – It did not resolve it unfortunately. Added that to the wp-config here:

    define( ‘FS_METHOD’, ‘direct’ );
    define(‘WP_DEBUG’, true);
    define(‘WP_MEMORY_LIMIT’, ‘200M’);
    define(‘SCRIPT_DEBUG’, true);

    — I then went to FF and History – Clear History ( box for Cache ticked) then quit FF and restarted the program.

    I switched the theme to the 2011 theme, checked that, and then checked the 2012 theme again and whichever way it’s not working.

    We’ll sit tight and wait for the patch — thanks!!

    in reply to: Calander views not working #57890
    agape
    Participant

    Rob:
    Thanks – yep, it is still happening in Firefox – have a looksy:

    http://dev.agapelive.com/calendar/

    As you can see- default 2012 theme on, only plugins on are The Events Calendar / Calendar Pro.

    Gravity Forms plugin is also on — cause I’m debugging that too. I think I left credentials in previous post if you want to login as admin and look around?

    in reply to: View As "List" Gets Stuck in FireFox #57676
    agape
    Participant

    Yep – still seeing it on our site as well. http://dev.agapelive.com/calendar/

    It is possible to force the browser into the other views – adding /week for example to the end of the url:

    http://dev.agapelive.com/calendar/week/

    — there is just something broken in the javascript that is supposed to be appending to the drop down.
    Unfortunately, can’t launch the new 3.0 awesomeness until it’s working in Firefox…. @ModernTribe — do you have a fix?

    in reply to: Calander views not working #57004
    agape
    Participant

    This reply is private.

    in reply to: Integrating Post Categories & Tags With Events #44355
    agape
    Participant

    Huge help Jonah!

    I cracked it — it’s totally working now. The problem was the pre_get_posts wasn’t specific to just posts loops so I think it was blowing up the menu because that uses the $query as well.

    For anyone else who is searching on these keywords:
    Show Tribe Events and Posts in Category Category.php

    Or is trying to get posts and tribe events to show up in the same loop, but allow Posts to use their own Categories, and Tribe Events to just use their own Events Categories, and do it with pre_get_posts — this should get you started.

    https://gist.github.com/anonymous/5258475

    I’m sure there is a more abstract way to write that code, but I just need it to work on a handful of pages so I was OK with the extra lines of code… though feel free to add your .02 and make it prettier!

    in reply to: Integrating Post Categories & Tags With Events #44308
    agape
    Participant

    Also – as a backup, what is the recommended method for getting Post categories added to the Tribe Events edit page?
    I’ve successfully done it via functions.php — but it’s a whole “register_post_type( … ” deal.

    In that forum thread (it was on the WordPress Page) — a mention was made that there was a post here in the official forum of how to do this… but I’ve been unable to find it after some digging.

    Thanks!

    in reply to: Integrating Post Categories & Tags With Events #44306
    agape
    Participant

    Thank you so much! I know this goes a bit outside the scope… and I’m still trying to learn what pre_get_posts does(n’t) do — but I tried to change

    if( is_home() || $query->is_category(‘inform-me’) )

    to

    if( is_category() || $query->is_category(‘inform-me’) )

    QUESTION — can pre_get_posts change the output of non home page loops? I’m trying to change what loads up on /category/inform-me — which fails the is_home() test.
    Making this change to my theme kinda blew up the category page — so I turned off all the plugins (except Events of course) and then tried it on the 2011 theme by adding the code in the gist with my change above to the 2011 functions.php.

    The category page didn’t blow up, but it just loaded the posts in the inform-me category, it did not load any Events.

    I installed the debug, but not sure why my category page blew up — what happened was where my nav is (using the usual wp menu stuff) — it just listed all my pages there and nothing else.

    That nav is in the header.php – so basically it broke somewhere in the nav menu and didn’t load the category.php or footer.php etc.

    Understandable if this is the end of what you can help with… but would love to know if pre_get_posts can be used to alter the loop on a category page.

    in reply to: Integrating Post Categories & Tags With Events #44221
    agape
    Participant

    Thanks for taking a look. This is what I was trying to do, but it’s not working:
    https://gist.github.com/anonymous/5258475

    I’m going to my site /category/inspire-me — which uses a category.php file which has a normal loop using the standard posts loop.

    When going to the page I get the “oops couldn’t find any posts” that fires when if have the posts while have the posts the post loop fails.

    in reply to: Integrating Post Categories & Tags With Events #44192
    agape
    Participant

    Interesting development… I thought it kind of messy to have events with both Post Categories and Event Categories so I went about looking for something in the pre_get_posts approach that could just say:

    If its an archive page for inspire-me — get Posts in Post Category inspire-me and get tribe_events in tribe_events_cat inspire-me .

    This did sort of work, though I think by grabbing events by tribe_events_cat — it also pulled in the layout from the events-category.php template I made.

    In other words, instead of just running the loop in the main category.php, with both posts and tribe_events using the same the_title(); and the_content(); — it looks like this hooked a bunch of stuff from the The Events Calendar plugin itself…

    Any thoughts on what 3.0 has in store for this?

    I did get it working by registering tribe_events as a post_type in functions.php and adding support for categories, thereby making the usual category box show up in addition to the event category box.

    Then a more simple pre_get_posts add_action did manage to fetch and display posts from both post types (posts and tribe_events) as expected with both just using the loop from the normal category.php file.

    agape
    Participant

    Face –> Palm

    That’s exactly what I needed.

    Thanks & note to self RTFM

    Close thread.

    in reply to: Integrating Post Categories & Tags With Events #44113
    agape
    Participant

    Jonah:

    I am also looking for this — if normal Post Categories can be used in addition to the Event Categories — I think that I can create a loop that can display both Posts and Events in a /category/category-name category.php type page.

    Use case — I have posts in category “inspire-me”

    I want to also create events in the category “inspire-me”

    I want one page showing all posts and all events in the category “inspire-me” at

    myurl.com/category/inspire-me

    I saw in the forum on wordpress someone using a register_post_type thing in functions.php to try and register the usual Post Categories for the events custom post type — but that doesn’t look totally safe — the custom post type for the Events is already happening via the plugin… if it also happens in the functions.php then ???

    I’m on WordPress 3.5.1 and The Events Calendar Pro 2.0.11

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