Jump to:

513 Posts in 209 Topics by 259 members

Content Editor Discussions

SilverStripe Forums » Content Editor Discussions » iframe issue

Forum for content editors and CMS users.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 2158 Views
  • Magnus
    Avatar
    Community Member
    2 Posts

    iframe issue Link to this post

    Hi all y'all!
    I'd like to embed a Google calendar on a content page, but when I add the code to the html and update, the code just gets stripped out... what am I doing wrong?

    Or is there another (better) way to integrate a Google calendar? Or other iCalendar compatible calendar?

    Cheers
    Magnus Hjert
    Weta

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: iframe issue Link to this post

    I believe the issue is that Google Calendar embedding is done via an IFRAME.

    <iframe> ... </iframe> elements are currently automatically removed by SilverStripe's TinyMCE editor configuration so that is likely to be the cause of your problem.

    However, 2.3.2, due out soon, will not remove IFRAMES, so this should provide you with what you want.

    Would you like to install SilverStripe 2.3.2 RC 2, and see if your Google calendar works to your satisfaction, so that we know that the new release provides you with what you want?

    Download from http://www.silverstripe.org/release-candidate/ and post your feedback here )

  • Magnus
    Avatar
    Community Member
    2 Posts

    Re: iframe issue Link to this post

    Thanks Sigurd,
    I'll have a chat with my frieds at DoubleClique about upgrading. I wouldn't do it just to get iframes, but there may be other compelling reasons.

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: iframe issue Link to this post

    Ok

    FYI. 2.3.2 will provide a number of other small fixes and improvements, but is largely focused on improving support of website pages have multiple versions for different languages.

  • kudesign
    Avatar
    Community Member
    64 Posts

    Re: iframe issue Link to this post

    Hi Sigurd, i installed v2.3.2, everything looks great, first of all congratulations on a nice job!

    I am working on a site that required bi-lingual, I got the translation mode to work, but can not get the language switcher to work.

    The language chooser code for the template I found in SS doc:

    <% if Translations %>
    <ul class="translations">
    <% control Translations %>
    <li class="$Locale.RFC1766">
    <a href="$Link" hreflang="$Locale.RFC1766"
    title="$Title">
    <% sprintf(_t('SHOWINPAGE','Show page in %s'),$Locale.Nice)%>
    </a>
    </li>
    <% end_control %>
    </ul>
    <% end_if %>

    This code does not work! I think there are typos, could you please check and updated the SS doc? Thanks in advance!!

    I think the .Nice isn't working, as it did not print the name of the available language, and it required a space between '.Nice)' and '%>' other than that I have no idea how to fix this bug.

    Joseph

    2158 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.