0
The JW Player module causes Joomlaworks Frontpage Slideshow to stop working. This is probably because of a conflict with jQuery as mentioned on this forum several times.
The problem is "base+"
/modules/mod_muscol_jwplayer/helper.php ~#151
However, if I remove "base+" the player no longer works.
What does "base+" do? Can I replace it with a static path or such?
The problem is "base+"
/modules/mod_muscol_jwplayer/helper.php ~#151
var current_playlist_url = base+\"".$playlist_url."\";
var current_encoded_playlist_url = base+\"".$encoded_playlist_url."\";
However, if I remove "base+" the player no longer works.
What does "base+" do? Can I replace it with a static path or such?
Responses (2)
-
Accepted Answer
0"base" is the your url's base, that is, http://www.yoursite.com/
this var is defined on music collection pages, but no other pages. we are working on solve this little issue.
it's a JAVASCRIPT var, not php.
the soltuion for now should be as simple as deleting this code from the file /components/com_muscol/muscol.php
$document =& JFactory::getDocument();
$uri =& JFactory::getURI();
$document->addScriptDeclaration("var base = \"".$uri->base()."\";");
and place it, instead, in your TEMPLATE main file (index.php)
do you know what I mean? -
Accepted Answer
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »