Error Message (know the reason)

Phoca Gallery modules - modules for Phoca Gallery extension
stuff4me
Phoca Member
Phoca Member
Posts: 30
Joined: 02 Oct 2008, 17:57

Error Message (know the reason)

Post by stuff4me »

http://validator.w3.org/check?uri=http: ... om/joomla/

The above reports an error that the phocagallery-module-ri has already been defined. It get the error because I am using the Random Image Module twice at once.

I deactivate one module and the error code goes away.

So my question, is there a way two have 2 of the same modules at the same time without the error?

Thank you.

Josh
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error Message (know the reason)

Post by Jan »

Hi, there is a problem because of ID, because of CSS working in most of sites (to be not conflicting with templates and other extensions) the ID is used and yes, if there are two or more instances, on the site there will be the same id twice :-( (cannot be different because it get information for CSS and CSS is not dynamically created). To this needs to be customized if the module is used twice - e.g. to change ID to class - but then some of the features will not work :-(

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