Problem with more then one module in an article...

More
14 years 3 months ago #2599 by chrism224
Hi Milos,

I have exactly the same problem and I would like this fix desperately. I have bough the bought "sportal" just 4 days before this post, and my downloads already expired. May I have it please?

cheers ;-)

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
14 years 3 months ago #2600 by milos
Please write your order number.

Please Log in to join the conversation.

More
14 years 3 months ago - 14 years 3 months ago #2601 by chrism224
Hi again, actually I have just fixed that by editing the file:

joomla\modules\mod_hot_lightbox\tmpl\default.php(50)

add at:
if(!function_exists('make_thumb_old')){
function make_thumb_old($src,$dest,$desired_width) {
....
}

and

if(!function_exists('make_thumb_v')){
function make_thumb_v($src,$dest,$desired_height) {
....
}

Is that actually all what can make trouble when using two instances of the Lightbox on the same page?

cheers

P.S. Order Nr: 4300499327
Last edit: 14 years 3 months ago by chrism224.

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
14 years 3 months ago #2602 by milos
Yes, you should add "if(!function_exists('name')) {" before every function, and "}" after the function.

Please Log in to join the conversation.

Time to create page: 0.073 seconds
Powered by Kunena Forum