elpaisa Posted March 21, 2007 Posted March 21, 2007 Hi all! I have installed the contribution for flash banners "flash_banners v2.0", since i haven't still edited the files html_output.php and banner.php I copied them into my catalog/includes/functions. folder just as it is specified and the other files "AC_RunActiveContent" "AC_ActiveX" in the place they may be, I've readed the installation instructions and there's nothing missing but the flash banners that I put in the banners admin, doesn't appear but the .gifs yes, I was checking what happens with the code that it outputs in html and this is the comparison with other pages that work properly: the flash banner v.2.0 file output: <script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0', 'width',' 467', 'height',' 57', 'quality','high', 'pluginspage','http://www.macromedia.com/go/getflashplayer', 'movie',' images/pagalos_despues.swf' ); </script> <noscript><EM> <object type="application/x-shockwave-flash" data="images/pagalos_despues.swf" width="467" height="57"> <param name="movie" value="images/pagalos_despues.swf" /> <param name="wmode" value="transparent"> </object> </EM></noscript><EM> and this is the code that works: <script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','79','height','79','src','images/menu','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','images/menu' ); //end AC code </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="79" height="79"> <param name="movie" value="images/menu.swf" /> <param name="quality" value="high" /> <embed src="images/menu.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="79" height="79"></embed> </object></noscript> note they are almost totally diferent. I took the time to change the code in html_output.php untill it gave this result: <script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','79','height','79','src','images/menu.swf','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','images/menu' ); //end AC code </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="79" height="79"> <param name="movie" value="images/menu.swf" /> <param name="quality" value="high" /> <embed src="images/menu.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="79" height="79"></embed> </object></noscript> it's exactly the same that the code that works but with some difference, the text that is underlined, that makes the difference between the code that works and the not, so, don't know if I'm going by the wrong way or if just making something bad with installation, but the code that works hasn't the .swf extension in the part that I pinpointed, does anybody know what to do, or can give me a hand
ssharma Posted March 21, 2007 Posted March 21, 2007 Hello Elpaisa, I have posted a topic 'Adding Mixcard Support to OS Commerce,' in the forum. You can look at the topic for more detail. Can you try to create a Mixcard and see if it could be put alongside product photo in OS Commerce catalog and let me know your feedback.? You can create a Mixcard at: http://www.mixpo.com you can send me your feedback to : [email protected] Thanks SSHARMA
Contentking Posted May 20, 2007 Posted May 20, 2007 Hi all! I have installed the contribution for flash banners "flash_banners v2.0", since i haven't still edited the files html_output.php and banner.php I copied them into my catalog/includes/functions. folder just as it is specified and the other files "AC_RunActiveContent" "AC_ActiveX" in the place they may be, I've readed the installation instructions and there's nothing missing but the flash banners that I put in the banners admin, doesn't appear but the .gifs yes, I was checking what happens with the code that it outputs in html and this is the comparison with other pages that work properly: the flash banner v.2.0 file output: <script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0', 'width',' 467', 'height',' 57', 'quality','high', 'pluginspage','http://www.macromedia.com/go/getflashplayer', 'movie',' images/pagalos_despues.swf' ); </script> <noscript><EM> <object type="application/x-shockwave-flash" data="images/pagalos_despues.swf" width="467" height="57"> <param name="movie" value="images/pagalos_despues.swf" /> <param name="wmode" value="transparent"> </object> </EM></noscript><EM> and this is the code that works: <script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','79','height','79','src','images/menu','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','images/menu' ); //end AC code </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="79" height="79"> <param name="movie" value="images/menu.swf" /> <param name="quality" value="high" /> <embed src="images/menu.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="79" height="79"></embed> </object></noscript> note they are almost totally diferent. I took the time to change the code in html_output.php untill it gave this result: <script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','79','height','79','src','images/menu.swf','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','images/menu' ); //end AC code </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="79" height="79"> <param name="movie" value="images/menu.swf" /> <param name="quality" value="high" /> <embed src="images/menu.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="79" height="79"></embed> </object></noscript> it's exactly the same that the code that works but with some difference, the text that is underlined, that makes the difference between the code that works and the not, so, don't know if I'm going by the wrong way or if just making something bad with installation, but the code that works hasn't the .swf extension in the part that I pinpointed, does anybody know what to do, or can give me a hand When using the Active X workaround, do not pass the file extension as this is added automatically by javascript file you call.
Ghacko Posted June 15, 2007 Posted June 15, 2007 Hi . I fixed the problem with the .swf files adding this code just before the </head> tag at every main archive : <script type="text/javascript" src="AC_RunActiveContent.js"></script>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.