Jump to content

[SOLVED] How do i add a flash rotator


Recommended Posts

ok i found one that i liked. Its called a XML Banner Rotator. It seems to use the index.html to call on the xml and all that to make it work. How do i get it to show up in the area where the homepage_logo.jpg is from the editorial? I tried to replace homepage_logo.jpg with index.html hoping that it would just call on it to load the whole thing but that didnt seem to work.

http://www.flabell.com/flash/XML-Banner-Rotator-233

I like to keep the editorial for announcements and what not, but would like to add this rotator in place of the homepage_logo.jpg. As you can see form my webpage www.aquatic-refuge.com, the center image is what i want replaced with the rotator.

Link to comment
Share on other sites

ok, well i tried it again. I added it to the editorial, then tried header.tpl and neither worked. I'm used to adding a flash as an object, never had to do this xml stuff. I just need for it to appear in the center column.

Link to comment
Share on other sites

  • 2 weeks later...

ok, turns out i needed to compile smarty but now all i can get is the download flash plugin. I have the latest one installed and tried it on Chrome, IE8 and FF4.... same thing on all 3. Any suggestions?

Link to comment
Share on other sites

Hi,

Try in putting folders "js " and " banner " as well as the swf in the root of your shop.
Insert this code into the editorial.tpl file:

<object height="300" align="middle" width="720" id="anim" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000">

<embed height="300" align="middle" width="720" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" allowscriptaccess="sameDomain" name="preview" bgcolor="#ffffff" quality="high" src="preview.swf">
</object>



You will maybe have to put the absolute url from the swf.

Link to comment
Share on other sites

Thanks, that worked. I'm going to try and see if the original code they provided works as well. Seems as though i was loading the flash files to the wrong folder. There's a editorial folder under modules as well in the theme. Have to edit the root folder editorial.tlp and load the flash files into the theme's editorial folder.....

Thanks though for helping me figure this out.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...