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.

All other Modules

Discuss all other Modules here.

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

sIRF not working properly


Reply

718 Views

Avatar
Daimz

31 July 2009 at 12:51am Community Member, 36 Posts

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 [url=http://www.arctosdesign.com/silverstripe/portfolio/]Here[/url]
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.