http://noc.postnuke.com/tracker/index.php?func=detail&aid=15635&group_id=494&atid=1799
Hi,
I have the problem that prototype was loaded twice.
I am using Multihook, Scribite, pnMessages-Block, pnForum-Ajaxblock and so on.
But the mediashare-plugin uses own javascripts in modules/mediashare/lightbox/...
pnuser.php (mediashare)
function mediashare_user_simplethumbnails($args)
function mediashare_user_simpledisplay($args)
PageUtil::addVar('stylesheet','modules/mediashare/lightbox/css/lightbox.css');
PageUtil::addVar('javascript','modules/mediashare/lightbox/js/prototype.js');
PageUtil::addVar('javascript','modules/mediashare/lightbox/js/scriptaculous.js?load=effects');
PageUtil::addVar('javascript','modules/mediashare/lightbox/js/lightbox.js');
The problem is that I have a lot of error in my js-console, because prototype, scriptaculous and so on are loaded multiple
times.
Could you please change the pathes to the PN8-path?
------
Your comment in the content-bug-tracker:
>>The fix is possible, but remember that Mediashare
>>needs to work with PN .7x also, so there must be
>>some kind of on-the-fly version checking.
The relevant functions are just used in pn 0.8, because "Content" isn't working with pn 0.8