Jump to:

10993 Posts in 2727 Topics by 1818 members

All other Modules

SilverStripe Forums » All other Modules » sIRF not working properly

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 714 Views
  • Daimz
    Avatar
    Community Member
    36 Posts

    sIRF not working properly Link to this post

    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.

    714 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.