ok, so i am having similar problems, thought i would revive this thread again. i have successfully loaded the FLShow flash carousel, and it is running on my main page (the only page i want it to show on)... however, it is not pulling the images, just showing [x] boxes... here is how i have it configured....
-
i renamed the javascript file, and put it in the correct zencart javascript folder.... "catalogzen/includes/templates/darkness/jscript/jscript_swfobject.js"
-
i used the provided code, and put the following into my "define_mainpage.php" file, thru zen cart define pages admin.
<div>
<object height="600" width="800" id="Carousel" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<param value="Carousel.swf" name="movie" />
<!--[if !IE]>-->
<object height="600" width="585" data="http://customk9design.com/catalogzen/admin/Carousel.swf" type="application/x-shockwave-flash">
<param value="xmlfile=images/CarouselImages/default.xml" name="flashvars" />
<!--<![endif]-->
<a href="http://www.adobe.com/go/getflashplayer">
<img alt="Get Adobe Flash player" src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" />
</a>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
-
per the above code (which was generated for me thru the swfobject code creator) i put the carousel.swf file in the above listed "catalogzen/admin/"
-
because i wanted to keep all my images together, i created a new folder at "catalogzen/images/CarouselImages/" which currently contains the following:
default.xml
test1.jpg
test2.jpg
test3.jpg
-
i added (per the instructions) a variable to the above string in the define_mainpage.php file to reference the correct folder for the images.
the code instructed was this:
<param name="flashvars" value="xmlfile=path/file.xml
&loadercolor=#00CCFF"/>
i put it in like this:
<param name="flashvars" value="xmlfile=images/CarouselImages
/default.xml" />
however, as you can see above, it changes it after saving to:
<param value="xmlfile=images/CarouselImages
/default.xml" name="flashvars" />
i do not know if this is part of the problem or not.
- my xml file is as below:
<?xml version="1.0" encoding="utf-8"?>
<!--
fhShow Carousel 1.7 configuration file
Please visit http://www.flshow.net/ for more info
-->
<slide_show>
<options>
<debug>false</debug> <!-- true, false -->
<background>transparent</background> <!-- #RRGGBB, transparent -->
<friction>10</friction> <!-- [1,100] -->
<fullscreen>false</fullscreen> <!-- true, false -->
<margins>
<top>0</top> <!-- [-1000,1000] pixels -->
<left>0</left> <!-- [-1000,1000] pixels -->
<bottom>0</bottom> <!-- [-1000,1000] pixels -->
<right>0</right> <!-- [-1000,1000] pixels -->
<horizontal_ratio>33%</horizontal_ratio> <!-- [1,50] a photo may occupy at most horizontalRatio percent of the Carousel width -->
<vertical_ratio>50%</vertical_ratio> <!-- [1,100] a photo may occupy at most verticalRatio percent of the Carousel height -->
</margins>
<interaction>
<rotation>mouse</rotation> <!-- auto, mouse, keyboard -->
<view_point>mouse</view_point> <!-- none, mouse, keyboard -->
<speed>75</speed> <!-- [-360,360] degrees per second -->
<default_speed>35</default_speed> <!-- [-360,360] degrees per second -->
<default_view_point>20%</default_view_point> <!-- [0,100] percentage -->
<reset_delay>30</reset_delay> <!-- [0,600] seconds, 0 means never reset -->
</interaction>
<far_photos>
<size>50%</size> <!-- [0,100] percentage -->
<amount>50%</amount> <!-- [0,100] percentage -->
<blur>10</blur> <!-- [0,100] amount -->
<blur_quality>3</blur_quality> <!-- [1,3] 1=low - 3=high -->
</far_photos>
<reflection>
<amount>100</amount> <!-- [0,1000] pixels -->
<blur>2</blur> <!-- [0,100] blur amount -->
<distance>0</distance> <!-- [-1000,1000] pixels -->
<alpha>50%</alpha> <!-- [0,100] percentage -->
</reflection>
<titles>
<default_style>font-size: 12px; font-family: Verdana, _serif; color: #333333;</default_style>
</titles>
</options>
<!-- Photo list -->
<photo>
<href>http://customk9design.com/catalogzen/index.php?main_page=product_info&cPath=1_10&products_id=2/</href>
<target>_blank</target>
<src>../images/CarouselImages/test1.jpg</src>
<title>This photo title has <i>italic</i> and <b>bold</b> text.<br/>There is also a second line here!</title>
</photo>
<photo>
<href>http://customk9design.com/catalogzen/index.php?main_page=product_info&cPath=1_10&products_id=1</href>
<target>_blank</target>
<src>../images/CarouselImages/test2.jpg</src>
<title>This photo title has <i>italic</i> and <b>bold</b> text.<br/>There is also a second line here!</title>
</photo>
<photo>
<href>http://customk9design.com/catalogzen/index.php?main_page=product_info&cPath=1_11&products_id=3</href>
<target>_blank</target>
<src>../images/CarouselImages/test3.jpg</src>
<title>This photo title has <i>italic</i> and <b>bold</b> text.<br/>There is also a second line here!</title>
</photo>
</slide_show>
soooooo.... my guess is that it is one of the following issues, but i do not know enough to know which one, or how to fix.. so whatever the issue may be, please spell out specifically what to do, i follow instructions well!! :D
-
the locations of the swf and or xml files are wrong... and need to be moved.... somewhere....
-
the calling of the images in the xml file is wrong, and i just need to change the path somehow
-
the changing of the variable (as described in #5) is in some way affecting things...
anyone want to break this down for me??
ohh.. almost forgot the important part!
website is https://www.customk9design.com/catalogzen
THANKS TO ALL!
"Be the Change you wish to see in the World..." -Gandhi