Disable include of .js file?

Phoca Gallery - image gallery extension
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48906
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Disable include of .js file?

Post by Jan »

Hi, no, Phoca uses library which detect if some other Phoca extensions didn't have included shadow box. So e.g. if you load the Shadowbox library by Phoca Gallery component, it will be not loaded by Phoca Gallery Random Image module anymore...

I wanted this feature will be added into Joomla! too. Because there are a lot of extensions for Joomla! which uses same or similar javascript libraries and there are many many conflicts between these javascript libraries... so my idea was to detect if some extension did not load the library... if yes then it will be not loaded for other extensions any more...

all this I have described into Joomla! forum, see:

http://forum.joomla.org/viewtopic.php?f=231&t=333302

Jan
If you find Phoca extensions useful, please support the project