Here are the JavaScript files. You should be able to just replace the plugin's js directory with this one, then get into cb.profilegallery.php and change the script includes at around line 1000:
[code:1]// Hack - Include Mootools and Slimbox to simulate the lightbox effect.
// In Joomla! 1.5, Mootools would be called from /includes/js/mootools.js with a check to see if it already been called.
$mainframe->addCustomHeadTag("<link rel=\"stylesheet\" href=\"components/com_comprofiler/plugin/user/plug_cbprofilegallery/css/slimbox.css\" type=\"text/css\" media=\"screen\" />"«»);
$htmltext2 .= "<script type=\"text/javascript\" src=\"templates/scripts/mootools.js\"></script>";
$htmltext2 .= "<script type=\"text/javascript\" src=\"components/com_comprofiler/plugin/user/plug_cbprofilegallery/js/slimbox.js\"></script>";
$htmltext2 .= "<script type=\"text/javascript\" language=\"JavaScript\">\n";
$htmltext2 .= "var pg_imagestring = \"" . _pg_LBImageString . "\";\n";
$htmltext2 .= "var pg_ofstring = \"" . _pg_LBOfString . "\";\n";
$htmltext2 .= "</script>\n";
break;[/code:1]
Attachment gallery.zip not found
Post edited by: pointri, at: 2007/03/30 21:07