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


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

    Tuesday, January 17 2012, 01:54 AM - #Permalink
    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?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, January 17 2012, 02:26 AM - #Permalink
    0
    I saw this answer in the forum but didn't understand, but now I do. The changes you suggested fixed the problem for me. Thank you very much!
    The reply is currently minimized Show
Your Reply