- Posts: 14
- Thank you received: 0
image linking problem
-
andy33333054
Inactive member - New Member
Less
More
11 years 11 months ago #25164
by andy33333054
Replied by andy33333054 on topic image linking problem
Hi,
That doesn't work either. Please can you test at your end.
That doesn't work either. Please can you test at your end.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 11 months ago #25174
by ivan.milic
Replied by ivan.milic on topic image linking problem
Yes,
new code:
closing bracket in if(!trim($linksList[$ind])){
new code:
Code:
$ind = 0;
while($ind < count($linksList)){
if(!trim($linksList[$ind])){
unset($linksList[$ind]);
}else
$ind++;
}
}
closing bracket in if(!trim($linksList[$ind])){
Please Log in to join the conversation.
-
andy33333054
Inactive member - New Member
Less
More
- Posts: 14
- Thank you received: 0
11 years 11 months ago #25181
by andy33333054
Replied by andy33333054 on topic image linking problem
Your code has 3 curly closing brackets but only 2 opening ones
When I delete the last curly closing bracket - the syntax is correct but the code doesn't work. Please advise
When I delete the last curly closing bracket - the syntax is correct but the code doesn't work. Please advise
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 11 months ago #25183
by ivan.milic
Replied by ivan.milic on topic image linking problem
Yes, yes { after else:
Code:
$ind = 0;
while($ind < count($linksList)){
if(!trim($linksList[$ind])){
unset($linksList[$ind]);
}else{
$ind++;
}
}
Please Log in to join the conversation.
-
andy33333054
Inactive member - New Member
Less
More
- Posts: 14
- Thank you received: 0
11 years 11 months ago #25187
by andy33333054
Replied by andy33333054 on topic image linking problem
Hi,
OK. Syntax is fine but the code doesn't work.
See www.hamrah.co/en/download-flyers
I've emptied my cache but no joy
OK. Syntax is fine but the code doesn't work.
See www.hamrah.co/en/download-flyers
I've emptied my cache but no joy
Please Log in to join the conversation.
-
andy33333054
Inactive member - New Member
Less
More
- Posts: 14
- Thank you received: 0
11 years 11 months ago #25188
by andy33333054
Replied by andy33333054 on topic image linking problem
Hi,
Here is the file default.php. Please check it or send me a new one. Please help me fix this otherwise I've wasted hours.
If you can't get the first image to respond, can you just make all images hyperlink to the same place?
Here is the file default.php. Please check it or send me a new one. Please help me fix this otherwise I've wasted hours.
If you can't get the first image to respond, can you just make all images hyperlink to the same place?
Please Log in to join the conversation.
Time to create page: 0.086 seconds