Jump to:

10930 Posts in 2613 Topics by 1810 members

All other Modules

SilverStripe Forums » All other Modules » Adding .swf countdown timer

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 1095 Views
  • Valorinbattle
    Avatar
    Community Member
    95 Posts

    Adding .swf countdown timer Link to this post

    I'm trying to add a .swf countdown timer to one of page templates. It calls an xml file located in the same folder. For some reason, I can't get it load correctly. It works fine on a test.html page, so I know the countdown timer itself works, but I don't know how to get it to display on a php page.

    I've tried adding it into the <head> section of the page template, i've tried putting it into the Layout .ss file for that template, and I've tried putting in an Include .ss file. None of that has worked.

    The crazy thing, is if I actually browse to location of the .swf in a browser, it works perfectly. But trying to call it in a template doesn't work. What am I missing?

    Thanks for any help!

    ~ James

  • jaredkipe
    Avatar
    Community Member
    16 Posts

    Re: Adding .swf countdown timer Link to this post

    Are you sure your template file is being rendered? Namely, if you insert some text in it, do you see it displayed when you go there with your browser?

    Have you tried putting ?flush=1 after the address to flush the template cache?

    Are you sure you are embedding it the correct way, and linking to it correctly. If you are using a browser that supports it, do you get any errors when the page is loaded. Such as file not found.

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