image linking problem

More
11 years 4 months ago #24449 by yıldırım
Hello,
I am using the module for Joomla 2.5 with hot host template. I am using Joomla 2.5.8. My first image does not have a link, the other images have the links which has to be the link for the previous image. I searched the forum, see some assumptions but none of them works for me. I put $$ at the first link row, changed the code as described here. I downloaded the module today and installed again.

Would you please help me to solve the problem ?

Please Log in to join the conversation.

More
11 years 4 months ago #24458 by ivan.milic
Replied by ivan.milic on topic image linking problem
Best install xEtplorer and send as admin access after using "Report To Moderator"

Please Log in to join the conversation.

More
11 years 3 months ago #25095 by andy33333054
Replied by andy33333054 on topic image linking problem
Hi,

Did you every get a fix for this issue? I'm having the same problem. I can't assign a link to the first image.

Please Log in to join the conversation.

More
11 years 3 months ago #25107 by ivan.milic
Replied by ivan.milic on topic image linking problem
In modules\mod_hot_joomla_carousel_pro\tmpl\default.php

around line 148:

$linksList = explode("\n", $imageLinks);

add this below:

$ind = 0;
while($ind < count($linksList)){
if(!trim($linksList[$ind]){
unset($linksList[$ind])
}else
$ind++;
}

Please Log in to join the conversation.

More
11 years 3 months ago #25141 by andy33333054
Replied by andy33333054 on topic image linking problem
Hi,

Thank you for the quick response. I think there are some syntax errors in the code you supplied.



Please see attached screenshot. Code you possibly email to me the revised default.php with changes made
Attachments:

Please Log in to join the conversation.

More
11 years 3 months ago #25158 by ivan.milic
Replied by ivan.milic on topic image linking problem
Yes :

$ind = 0;
while($ind < count($linksList)){
if(!trim($linksList[$ind]){
unset($linksList[$ind]);
}else
$ind++;
}
}

so missed ; in line unset($linksList[$ind]);

and } at the end

Please Log in to join the conversation.

Time to create page: 0.341 seconds
Powered by Kunena Forum