pconkie Posted April 28, 2018 Share Posted April 28, 2018 Try this on your fixtures page.... <div tkf-wrap-guid="tkf-client-window-wrap-fullcalendar-1"> <iframe title="calendar" name="tkf-client-window-embed-fullcalendar-1" src="https://events.kennetschool.co.uk/kennet?tags=fixture" style="height: 1721px;"></iframe> </div> Get rid of everything else. replace tags=fixture for your other pages. Link to comment Share on other sites More sharing options...
Sue Busher Posted April 30, 2018 Author Share Posted April 30, 2018 @Simon Law Any joy Simon? Tockify seem to think it could be one of the following (although are working blind and are guessing): Guess 1: The Frog environment you're in is deleting our embed code on the pages where it doesn't appear, possibly as a side effect of using client side navigation that rewrites the DOM. Calling _tkf.loadDeclaredCalendars() on page navigation might help if that's the issue. Guess 2: We are behind a firewall of some kind that's accidentally blocking the secondary loads of the calendar. Guess 3: Both of our browsers have a security plugin that's blocking the calendar in some circumstances. Guess 4: The Frog environment is overriding some of the browser's built in functions and that breaks the calendar. The reason the calendar works once could be that it runs before those changes are made. Any help would be gratefully appreciated. Link to comment Share on other sites More sharing options...
Sue Busher Posted April 30, 2018 Author Share Posted April 30, 2018 @pconkie Sorry, just seen this. Will relay it back to Tockify. Link to comment Share on other sites More sharing options...
Sue Busher Posted April 30, 2018 Author Share Posted April 30, 2018 @pconkie Tockify has come back and said that there is nothing their end that would prevent multiple calendars on a site site or page. One thing did occur t them. The script we use to load Tockify is: <script>$.getScript( "https://public.tockify.com/browser/embed.js" ).done(function( script, textStatus ) {console.log( textStatus );}).fail(function( jqxhr, settings, exception ) {console.log( "There has been an error" );});</script> Whereas what we recommend is: <script data-cfasync="false" data-tockify-script="embed" src="https://public.tockify.com/browser/embed.js"></script> Perhaps it's part of the problem? However, that wasn't working for me. They then went on to re-emphasize that they can see our site no problem without an issue so it seems that it is more to do with our local environment. Do you get the same problem as me? Link to comment Share on other sites More sharing options...
Simon Law Posted April 30, 2018 Share Posted April 30, 2018 Hi Sue, just as an update really, Your code was getting replacing the embed.js file each time a new page was clciked on, so I attempted to get it to load once, use cache if already there, something tockify suggest above, however it didn't seem to make the thing work. Not had a chance to look at it today Link to comment Share on other sites More sharing options...
Sue Busher Posted April 30, 2018 Author Share Posted April 30, 2018 On 28/04/2018 at 10:32, pconkie said: Try this on your fixtures page.... <div tkf-wrap-guid="tkf-client-window-wrap-fullcalendar-1"> <iframe title="calendar" name="tkf-client-window-embed-fullcalendar-1" src="https://events.kennetschool.co.uk/kennet?tags=fixture" style="height: 1721px;"></iframe> </div> Get rid of everything else. replace tags=fixture for your other pages. Tried that and get the same thing (shows the the first page but then doesn't load other pages unless I log out and back in again). I am going to try from home - outside the school environment to see if that fixtures it. Also tried embedding the white label as a website embed widget but got an error message (attached). Thank you for your help so far. Will update you tomorrow. Link to comment Share on other sites More sharing options...
pconkie Posted April 30, 2018 Share Posted April 30, 2018 On 28/04/2018 at 10:32, pconkie said: Try this on your fixtures page.... <div tkf-wrap-guid="tkf-client-window-wrap-fullcalendar-1"> <iframe title="calendar" name="tkf-client-window-embed-fullcalendar-1" src="https://events.kennetschool.co.uk/kennet?tags=fixture" style="height: 1721px;"></iframe> </div> Get rid of everything else. replace tags=fixture for your other pages. This worked for me (with no other html or js). Opened site - it displayed. Closed site and reopened (without refreshing frog) - it displayed. Using external <script> tags won’t work in frog. Link to comment Share on other sites More sharing options...
Sue Busher Posted May 2, 2018 Author Share Posted May 2, 2018 Temporarily put the website 'live' and accessed it from home (outside school network) and it works fine. Would appear to be something behind our firewall stopping it working. Thanks for your help @pconkie @Simon Law Link to comment Share on other sites More sharing options...
Simon Law Posted May 2, 2018 Share Posted May 2, 2018 3 hours ago, Sue Busher said: Temporarily put the website 'live' and accessed it from home (outside school network) and it works fine. Would appear to be something behind our firewall stopping it working. Thanks for your help @pconkie @Simon Law Always glad to hear something works outside of a firewall Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now