Jump to:

5513 Posts in 1732 Topics by 1218 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Trying to add flickr badge and getting this error.

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

Page: 1 2
Go to End
Author Topic: 2058 Views
  • banal
    Avatar
    Community Member
    901 Posts

    Re: Trying to add flickr badge and getting this error. Link to this post

    Nope, the flickr_badge_beacon can't be the problem imo. I suggest you try this outside of silverstripe in a very basic/plain html page... just to find out if it's a SilverStripe <> Flickr issue, or if it's a general integration issue.
    As far as I can tell, you wouldn't need the css either, you should see some loaded images in a plain html page even without the styles.

  • Daimz
    Avatar
    Community Member
    36 Posts

    Re: Trying to add flickr badge and getting this error. Link to this post

    So I think it is a Silverstripe problem. It works just as it should in a plain html page.
    http://www.arctosdesign.com/flick.html

    so now what? Is there anyway to fix this problem or will I have to find another script?

  • Daimz
    Avatar
    Community Member
    36 Posts

    Re: Trying to add flickr badge and getting this error. Link to this post

    Someone over at smashing magazine said the problem might be with the mime types:

    I took a look at the Flickr code and discovered that it's using document.write to dump the code on to the page... document.write does not work in XHTML. The reason it works on those other sites is that they are serving their XHTML files with the text/html mime (which puts it in HTML mode instead of XHTML mode) instead of the text/html mime as you are doing.

    I am not exactly to sure what he is meaning but the website he is refering to other than mine is http://www.abduzeedo.com

    Is there a way to change the mime types in Silverstripe? and is that what I am even meant to be doing?

    2058 Views
Page: 1 2
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.