updating shadowbox version to 3.03
Posted: 13 Nov 2010, 18:14
i have an obbession about using latest versions o f applications
so i have integrated latest shadowbox plugin to phoca gallery. it is simple... just download the latest shadowbox version from here with mootools adapter and only image player. then delete all files under /public_html/components/com_phocagallery/assets/js/shadowbox and copy all new files under this directory.
finally open /public_html/components/com_phocagallery/views/category/view.html.php file and delete this row:
and change this:
to this:
thats all. good luck 
finally open /public_html/components/com_phocagallery/views/category/view.html.php file and delete this row:
Code: Select all
$document->addScript(JURI::base(true).'/components/com_phocagallery/assets/js/shadowbox/adapter/shadowbox-mootools.js');Code: Select all
$document->addCustomTag('<script type="text/javascript">
Shadowbox.loadSkin("classic", "'.JURI::base(true).'/components/com_phocagallery/assets/js/shadowbox/src/skin");
Shadowbox.loadLanguage("'.$sb_lang.'", "'.JURI::base(true).'/components/com_phocagallery/assets/js/shadowbox/src/lang");
Shadowbox.loadPlayer(["img"], "'.JURI::base(true).'/components/com_phocagallery/assets/js/shadowbox/src/player");Code: Select all
$document->addCustomTag('<link rel="stylesheet" type="text/css" href="'.JURI::base(true).'/components/com_phocagallery/assets/js/shadowbox/shadowbox.css">
<script type="text/javascript">