Zen Follower
- Join Date:
- Nov 2007
- Posts:
- 434
- Plugin Contributions:
- 1
Flash Mp3 in a Blank Sidebox
I know that, but still there are things not clear for me! please check the code that I use in my ZC for the sidebox:
<script type="text/javascript"> var so = new SWFObject("http://www.arab-broker.com/oriental2/media/playerMultipleMenuPackage/playerMultipleList_old.swf", "mymovie", "295", "200", "7", "#FFFFFF"); so.addVariable("autoPlay","no") so.addVariable("playlistPath","playlist.xml") so.write("flashPlayer"); </script>I'm using a Bi-lingual website as for the Arabic language the content of the blank sidebox is gone and in the English version it shows this : TEXT_BLANK_SIDEBOX
Should I add the link for the flash player where it says : so.write("flashPlayer");And should I add the path for the xml file where it says : so.addVariable("playlistPath","playlist.xml")and if so where exactly, in ("playlistPath" or "playlist.xml") ?
so it should look like this :
<?php /** * blank sidebox - allows a blank sidebox to be added to your site * * @package templateSystem * @copyright 2007 Kuroi Web Design * @copyright Portions Copyright 2003-2007 Zen Cart Development Team * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * @version $Id: blank_sidebox.php 2007-05-26 kuroi $ */ $content = ''; $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">'; // Replace the text and HTML tags between the apostophes on lines 19 and 20. // Use as many or as few lines using this model as you need for your custom content. // If you have a multilingual site define your text in the languages/YOUR_LANGUAGE/extra_definitions/blank_sidebox_defines.php and include it as shown in line 19. // If your site is monolingual, you can put the text right here as shown on line 20 (and nobody will know!) $content .= '<p>' . TEXT_BLANK_SIDEBOX . '</p>'; $content .= '<p><script type="text/javascript"> var so = new SWFObject("http://www.arab-broker.com/oriental2/media/playerMultipleMenuPackage/playerMultipleList_old.swf", "mymovie", "295", "200", "7", "#FFFFFF"); so.addVariable("autoPlay","no") so.addVariable("playlistPath","playlist.xml") so.write("http://www.arab-broker.com/oriental2/media/playerMultipleMenuPackage/playerMultipleList_old.swf"); </script>.</p>'; $content .= '</div>'; ?>the link for the test website:
http://www.arab-broker.com/oriental2...ex&language=en
what did I do wrong here ?