+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Google Calendar

Google Calendar

2 posts, 0 answered
  1. Foodsleuth
    Foodsleuth avatar
    46 posts
    Registered:
    21 May 2008
    11 Feb 2010
    Link to this post

    Hi,
    We're trying to place a Google Calendar in a generic content block but when the page is rendered it shows this error:

    To help protect the security of information you enter into this website, the publisher of this content does not allow it to be displayed in a frame.

    Here is an example of the error on a sample cms page:
    http://www.gourmetsleuth.com/Articles/mole-chiles.aspx (bottom right column)

    If we put the same code in an old html page it works fine (example here:)
    http://archive.gourmetsleuth.com/achiote_paste.htm

    Is there a work around for this?  I know of other sites that do this, here is one example:
    http://cookingwithamy.blogspot.com/

    Thanks!

  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    12 Feb 2010
    Link to this post
    Hi Foodsleuth,

    Thank you for using our services. 

    The problem is that when the editor content is saved the special characters contained in the src for the calendar service are encoded in their representations. This breaks the calendar feed. As a workaround you can create a simple user control (.ascx file) and wrap up the iframe there. Then just add this to your control toolbox in Sitefinity. If you wish to use the calendar in generic content control you will have to use the Google Calendar JavaScript API and call the calendar with javascript.

    Kind regards,
    Radoslav Georgiev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
2 posts, 0 answered