- Posts: 9
- Thank you received: 0
Problem with more then one module in an article...
-
chrism224
Inactive member - New Member
Less
More
14 years 3 months ago #2599
by chrism224
Replied by chrism224 on topic Re: Problem with more then one module in an article...
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
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
Less
More
- Posts: 6744
- Thank you received: 716
14 years 3 months ago #2600
by milos
Replied by milos on topic Re: Problem with more then one module in an article...
Please write your order number.
Please Log in to join the conversation.
-
chrism224
Inactive member - New Member
Less
More
- Posts: 9
- Thank you received: 0
14 years 3 months ago - 14 years 3 months ago #2601
by chrism224
Replied by chrism224 on topic Re: Problem with more then one module in an article...
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
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
Less
More
- Posts: 6744
- Thank you received: 716
14 years 3 months ago #2602
by milos
Replied by milos on topic Re: Problem with more then one module in an article...
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