Greg

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • in reply to: Calendar Widget #1082157
    Greg
    Participant

    Oh good god. I wasn’t even paying attention. You are absolutely right. Changing that setting yesterday was the answer. Ok thanks and sorry to waste your time.

    in reply to: Calendar Widget #1081620
    Greg
    Participant

    Hi Cliff. It was 5, I changed it to 10. No change.

    in reply to: Calendar Widget #1081331
    Greg
    Participant

    It is set to 18 (per my initial post). That’s the problem. It displays all of them on page load (up to 18 of course) but when you click on a specific day, it suddenly drops back to between 3 to 5 events. It’s very strange.

    in reply to: Calendar Widget #1081102
    Greg
    Participant

    I’ve not read the article but will do. Yes using Genesis. I tried changing the read posts form 5 to 10 but it didn’t change anything. On Jul 11, there are 18 events, but if I click on the calendar it then will only show 3! You can see the behavior here: https://creativecamps.us . All the events are set to ‘all day’ since I’m handing timing of the events separately. Site is set to GMT-5.

    in reply to: 404 Error for Single Event #1074851
    Greg
    Participant

    Hi Brook,

    I traced the source of the ‘white screen’ to the function name ‘tribe_set_default_date’. If I rename it to ‘tribe_set_default_date_2’, everything then works as advertised. I assume it’s because this function name is already defined somewhere in your plugin?

    in reply to: 404 Error for Single Event #1071264
    Greg
    Participant

    This reply is private.

    in reply to: 404 Error for Single Event #1069266
    Greg
    Participant

    This reply is private.

    in reply to: 404 Error for Single Event #1064715
    Greg
    Participant

    *sigh* yes of course I understand the php opener. I switched your code to ‘raw’ view and tried it again. Same problem. I guess there is some issue which is why the original line

    $_REQUEST[‘tribe-bar-date’] = ‘2016-07-01’;

    crashed the site.

    in reply to: 404 Error for Single Event #1064168
    Greg
    Participant

    Hi Brook, did you test the code you suggested? It doesn’t compile and gives me the classic WP white screen of death.

    I’m using month view. Not sure what the Minical widget actually is.

    in reply to: 404 Error for Single Event #1063439
    Greg
    Participant

    Well the single line of offending code is: $_REQUEST[‘tribe-bar-date’] = ‘2016-07-01’;

    I’m not sure how we debug this since this is code suggested by your knowledge-base and it is conflicting with your own code!

    What I’m trying to achieve with this is: for the ‘Date view (which isn’t the single page) I need it to show month view at that month since this is when the first events show up. However for some reason it is affecting the single event page (I assume it is single? Not sure how you are coding this).

    Bottom line: How do I ensure that the main events page which is in month view can show the month I want without triggering the 404 for the ‘single’ event view?

    in reply to: 404 Error for Single Event #1062796
    Greg
    Participant

    The issue is being caused by this code here in my functions.php . I’m using this code because I need to set the default date for the calendar. If I remove this code, the 404 error is resolved.

    function tribe_set_default_date () {
    if ( !is_single() && empty( $_REQUEST[‘tribe-bar-date’] ) ) {
    $_REQUEST[‘tribe-bar-date’] = ‘2016-07-01’;
    }
    }
    add_action( ‘parse_query’, ‘tribe_set_default_date’ );

    in reply to: 404 Error for Single Event #1062783
    Greg
    Participant

    HI Hunter. The error is occurring as a result of my customized theme. Switching to the default theme resolves. Disabling all the plugins does not resolve.

    – any clues on where I should look?

    • This reply was modified 8 years, 3 months ago by Greg.
    in reply to: tribe-events-button cannot style #1062749
    Greg
    Participant

    Great thanks Geoff. That works perfectly.

    Greg

    in reply to: tribe-events-button cannot style #1062682
    Greg
    Participant

    This reply is private.

    in reply to: 404 Error for Single Event #1062085
    Greg
    Participant

    This reply is private.

Viewing 15 posts - 1 through 15 (of 18 total)