- Posts: 1
- Thank you received: 1
Re: Links for images
-
stone977a
Inactive member - New Member
Less
More
12 years 7 months ago #18528
by stone977a
Replied by stone977a on topic Re: Links for images
Well, I sent my changes that are working to Milos. I don't have latest version installed, so I don't know if Milos included my changes. And probably I cannot sent you defualt.php, since I have payed version and there could be some license issues.
Milos should give you more info.
Regards, Tone
Milos should give you more info.
Regards, Tone
The following user(s) said Thank You: markus1
Please Log in to join the conversation.
-
markus1
Inactive member - New Member
Less
More
- Posts: 12
- Thank you received: 0
12 years 7 months ago #18530
by markus1
Replied by markus1 on topic Re: Links for images
Slight modification in ill-behavior from what I said above. I incorrectly stated that the final image has no link associated with it. In fact, it incorrectly has the same link as the previous image (which is also incorrect).
Just so you know, I've already tried the often mentioned workaround to add a first line of $$ in the "Links for images" field. In this case, the first image still has no link. The second image link would be $$. And the third image link was the one meant for first image.
Please advise. Thx.
Just so you know, I've already tried the often mentioned workaround to add a first line of $$ in the "Links for images" field. In this case, the first image still has no link. The second image link would be $$. And the third image link was the one meant for first image.
Please advise. Thx.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 7 months ago #18538
by ivan.milic
Replied by ivan.milic on topic Re: Links for images
Try this:
open:
modules\mod_hot_joomla_carousel_pro\tmpl\default.php
find this line:
$linksList = explode("\n", $imageLinks);
replace it with:
$linksList = str_replace("\r", "", $linksList);
$linksList = str_replace(" ", "", $linksList);
$linksList = explode("\n", $imageLinks);
if(!$linksList[0])
unset($linksList[0]);
open:
modules\mod_hot_joomla_carousel_pro\tmpl\default.php
find this line:
$linksList = explode("\n", $imageLinks);
replace it with:
$linksList = str_replace("\r", "", $linksList);
$linksList = str_replace(" ", "", $linksList);
$linksList = explode("\n", $imageLinks);
if(!$linksList[0])
unset($linksList[0]);
Please Log in to join the conversation.
-
markus1
Inactive member - New Member
Less
More
- Posts: 12
- Thank you received: 0
12 years 7 months ago #18563
by markus1
Replied by markus1 on topic Re: Links for images
Ivan,
Appreciate your providing code to modify in default.php. I've made the changes but still have exact same behavior. Thought I might have not uploaded correctly or modified the code correctly or not cleared the Joomla and/or browser cache. So I have retrieved the file back from the hosted files and attached it here. The changes started at line 148. Looks like I did everything correctly but still have the same original problem.
I again tried to place $$ as the initial entry after the code changes but that still didn't help.
What else do you recommend? See the file attachment to ensure the mods I made are correct.
Appreciate your providing code to modify in default.php. I've made the changes but still have exact same behavior. Thought I might have not uploaded correctly or modified the code correctly or not cleared the Joomla and/or browser cache. So I have retrieved the file back from the hosted files and attached it here. The changes started at line 148. Looks like I did everything correctly but still have the same original problem.
I again tried to place $$ as the initial entry after the code changes but that still didn't help.
What else do you recommend? See the file attachment to ensure the mods I made are correct.
Please Log in to join the conversation.
-
markus1
Inactive member - New Member
Less
More
- Posts: 12
- Thank you received: 0
12 years 7 months ago - 12 years 7 months ago #18564
by markus1
Replied by markus1 on topic Re: Links for images
File attachment failed in previous post because php suffix not allowed. Let's try again with suffix of txt.
Last edit: 12 years 7 months ago by milos.
Please Log in to join the conversation.
-
markus1
Inactive member - New Member
Less
More
- Posts: 12
- Thank you received: 0
12 years 7 months ago #18566
by markus1
Replied by markus1 on topic Re: Links for images
If you go to my website to see if the behavior has changed, realize that I've tried to temporarily minimize this issue by deleting the first entry in the "Links for images" box so at least some of the images will have the correct link and no longer be off by one.
So with bug and my temporary workaround, the first and final image have no/incorrect links but at least the rest are correct.
Just noticed another problem: the "Opens link in a new window" when set to Yes opens in the same window
So with bug and my temporary workaround, the first and final image have no/incorrect links but at least the rest are correct.
Just noticed another problem: the "Opens link in a new window" when set to Yes opens in the same window
Please Log in to join the conversation.
Time to create page: 0.098 seconds