Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

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

sIRF not working properly


Go to End


1173 Views

Avatar
Daimz

Community Member, 36 Posts

31 July 2009 at 12:51am

I am having trouble getting the sIRF movie to load, all I get is a white box that when right clicked on tells me it's flash but that the movie isn't loaded. you can see what I am talking about at Here
Here is the code I am using:

class PortfolioHolder_Controller extends Page_Controller {



function rss() {
  $rss = new RSSFeed($this->Children(), $this->Link(), "The coolest news around");
  $rss->outputToBrowser();
}
function init() {
   RSSFeed::linkToFeed($this->Link() . "rss");	
   parent::init();
            Sifr::add_font('din', 'themes/space/fonts/dakota.swf');
            Sifr::replace_element('din', '#s5', "'.sIFR-root { text-align: left; color: #001755;'");
            Sifr::activate_sifr(); 
           
}

can someone please help me understand what I am doing wrong. I have been finding the documentation quite hard to understand.