Page 1 of 1

Error Message (know the reason)

Posted: 13 Jul 2010, 03:43
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

Re: Error Message (know the reason)

Posted: 16 Jul 2010, 15:13
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