Forums / Templates, Stylesheets, Page Layout / Flash Mp3 in a Blank Sidebox

Flash Mp3 in a Blank Sidebox

Locked

Views: 6,821

Results 21 to 24 of 24
This thread is locked. New replies are disabled.
8 Jan 2008, 8:36 AM
#21
alhakeem2001 avatar

alhakeem2001

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 ?

8 Jan 2008, 8:42 AM
#22
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Flash Mp3 in a Blank Sidebox

so.addVariable("playlistPath","playlist.xml")
Path to playlist.xml
You have not entered one in your sidebox code

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

8 Jan 2008, 12:55 PM
#23
alhakeem2001 avatar

alhakeem2001

Zen Follower

Join Date:
Nov 2007
Posts:
434
Plugin Contributions:
1

Re: Flash Mp3 in a Blank Sidebox

OK, after I added the XML path the I lost my side boxes and now I fixed it, I mean the sideboxes, But where to add the link for my XML file though ? as I have only one xml file and you specified to add it here : **so.addVariable("playlistPath","playlist.xml") **, So where exactly here ("playlistPath"or"playlist.xml") ?

8 Jan 2008, 1:04 PM
#24
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Flash Mp3 in a Blank Sidebox

So where exactly here ("playlistPath"or"playlist.xml") ?
should be ```
so.addVariable("playlistPath"[B],[/B]"http://yourdomain.com/wherethisfileisstored/playlist.xml")

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others