• Resolved calfree

    (@calfree)


    Calendar looks fine and and I can see a list of events. If I click on Month then it shows the month view but then you cannot go back to list and it just shows one event and the entire day has a blue background with the event listed at the bottom. If you refresh the page then you see the calendar like you should with the various events. Why do you have to refresh to see the full calendar and why can you not go back to the list view? This is on two websites we have like this

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Support Abz

    (@abzlevelup)

    Hi @calfree, sorry to hear about this. Could you provide me with a direct URL to your website/staging site? This is for me to take a closer look at this issue.

    Looking forward to helping you with this one.

    Best,
    Abz

    Thread Starter calfree

    (@calfree)

    Hi

    The site and calendar is here https://strongstartschaut.com/events/ if you first view it the calendar looks fine. Click on any of the top links List Month Day messes it up and once you click on those links you cannot click on the links that appear like search and the calendar button

    Plugin Support Abz

    (@abzlevelup)

    Hi @calfree, appreciate you providing the URL here. I was able to replicate the issue and it seems like there’s a conflict here. It would be best to do the testing for conflicts.

    Could you try deactivating all other plugins except for our plugins to see if that makes a difference and make sure that the plugins are up-to-date? Moreover, could you switch to the default theme? Please read the Testing for Conflicts article before doing anything. https://theeventscalendar.com/knowledgebase/k/testing-for-conflicts/

    Let me know how it goes, I’d be glad to help you out further.

    Best,
    Abz

    Thread Starter calfree

    (@calfree)

    So I disabled the theme and enabled the default theme and now the calendar works. I enabled the custom theme again and removed all custom javascript and it is still not working. The custom theme uses completely standard php for template so for example the page template the events plugin is set to use looks like this

    <?php
        get_header();
    ?>
    <div class="pageHeader">
        <div class="row">
            <div class="col col15 branding">
                <div class="altLogo">
                    <img src="<?php echo esc_url(get_stylesheet_directory_uri()); ?>/assets/img/strong.png">
                </div>
            </div>
            <div class="col col80 mainMenu">
                <?php
                    wp_nav_menu(
                        array(
                            'theme_location' => 'main',
                            'menu' => 'main',
                            'menu_class' => 'navbar-nav mr-auto',
                            'container_id' => 'navbarSupportedContent'
                        )
                    );
                ?> 
            </div>
    
        </div>
    </div>
    <div class="col col5 mMenu">
    	<img src="<?php echo esc_url(get_stylesheet_directory_uri()); ?>/assets/img/menu2.png">
    </div>
    
    <div class="rowWidth60 the-page">
        <div class="a_page">
            <div class="mainPageContent">
                <div class="mainContentWrap">
                    <article">
                        <?php
                            if(have_posts()){
                                while(have_posts()){
                                    the_post();
                                    the_content();
                                }
                            }
                        ?>
                    </article>
                </div>
            </div>
        </div>
        
    </div>
    
    <?php
    get_footer();
    ?>

    nothing complicated and not javascript so what conflict can there exist?

    Thread Starter calfree

    (@calfree)

    Nevermind I found the issue. jQuery version conflict

    Thread Starter calfree

    (@calfree)

    On this site however if you click on the links they do not change at all https://resourcecenter.org/events/

    I see this error in the console when I try and click on any of the links:

    XHRPOSThttps://resourcecenter.org/wp-json/tribe/views/v2/html
    [HTTP/1.1 403 Forbidden 3085ms]
    
    	
    POST
    	https://resourcecenter.org/wp-json/tribe/views/v2/html
    Status
    403
    Forbidden
    VersionHTTP/1.1
    Transferred789 B (90 B size)
    Referrer Policystrict-origin-when-cross-origin
    Request PriorityHighest
    
        	
        Access-Control-Allow-Credentials
        	true
        Access-Control-Allow-Headers
        	Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type
        Access-Control-Allow-Methods
        	OPTIONS, GET, POST, PUT, PATCH, DELETE
        Access-Control-Allow-Origin
        	https://resourcecenter.org
        Access-Control-Expose-Headers
        	X-WP-Total, X-WP-TotalPages, Link
        Connection
        	Keep-Alive
        Content-Type
        	application/json; charset=UTF-8
        Date
        	Thu, 28 Jul 2022 04:02:21 GMT
        Keep-Alive
        	timeout=5, max=83
        Link
        	<https://resourcecenter.org/wp-json/>; rel="https://api.w.org/"
        Server
        	Apache
        Transfer-Encoding
        	chunked
        Vary
        	Origin,User-Agent
        X-Content-Type-Options
        	nosniff
        X-Robots-Tag
        	noindex
        	
        Accept
        	undefined
        Accept-Encoding
        	gzip, deflate, br
        Accept-Language
        	en-US,en;q=0.5
        Connection
        	keep-alive
        Content-Length
        	160
        Content-Type
        	application/x-www-form-urlencoded; charset=UTF-8
        DNT
        	1
        Host
        	resourcecenter.org
        Origin
        	https://resourcecenter.org
        Referer
        	https://resourcecenter.org/events/
        Sec-Fetch-Dest
        	empty
        Sec-Fetch-Mode
        	cors
        Sec-Fetch-Site
        	same-origin
        User-Agent
        	Mozilla/5.0 (X11; Linux x86_64; rv:103.0) Gecko/20100101 Firefox/103.0
        X-Requested-With
        	XMLHttpRequest
    • This reply was modified 2 years, 8 months ago by calfree.
    Thread Starter calfree

    (@calfree)

    Can you help me with this please because this is a different error and not related to anything I mentioned previously.

    • This reply was modified 2 years, 8 months ago by calfree.
    Plugin Support Abz

    (@abzlevelup)

    Hi @calfree, appreciate you doing the testing for conflicts. Seems like it was a jQuery issue.

    The 403 error here might be caused by jQuery not having to get the proper callback.

    I checked both domains & calendars, and seem to be working now.
    https://strongstartschaut.com/events/
    https://resourcecenter.org/events/

    Let me know how it is on your end, and please do let me know if you do have more questions.

    Best,
    Abz

    Thread Starter calfree

    (@calfree)

    Ok thanks for getting back to me I see it is working now. Appreciate your support

    Thread Starter calfree

    (@calfree)

    Plugin Support Abz

    (@abzlevelup)

    Hi @calfree, it seems like WPOptimize is causing the issue here why it is not working. Could you follow this article here? https://theeventscalendar.com/knowledgebase/k/wp-optimize/

    This article should be able to help you fix the issue, and there’s a setting you’d need to implement for the modification and caching.

    Let me know how it goes.

    Best,
    Abz

    Thread Starter calfree

    (@calfree)

    Thank you that solved my issue. I appreciate the good support

    • This reply was modified 2 years, 7 months ago by calfree.
Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘The top links does not work after selecting month’ is closed to new replies.