- Posts: 14116
- Thank you received: 1639
<br/> in Image Description.
-
ivan.milic
Support Staff - Moderator
Less
More
13 years 4 months ago #10437
by ivan.milic
Replied by ivan.milic on topic Re: <br/> in Image Description.
You can try to find some 3rd party component that makes that posibile , I don't know any but it might exist. Also radical solution would be to modify php code.
open modules/mod_hot_image_slider/mod_hot_image_slider.php
find this:
for ($loop = 1; $loop <= 9; $loop += 1) {
$imageDescArray[$loop] = $params->get('image'.$loop.'desc','');
}
and change it like this:
for ($loop = 1; $loop <= 9; $loop += 1) {
$imageDescArray[$loop] = str_replace("NEWLINE", "<br/>", $params->get('image'.$loop.'desc',''));
}
then use word NEWLINE instead of <br/>
open modules/mod_hot_image_slider/mod_hot_image_slider.php
find this:
for ($loop = 1; $loop <= 9; $loop += 1) {
$imageDescArray[$loop] = $params->get('image'.$loop.'desc','');
}
and change it like this:
for ($loop = 1; $loop <= 9; $loop += 1) {
$imageDescArray[$loop] = str_replace("NEWLINE", "<br/>", $params->get('image'.$loop.'desc',''));
}
then use word NEWLINE instead of <br/>
The following user(s) said Thank You: chocovo
Please Log in to join the conversation.
-
chocovo
Inactive member - Topic Author
- New Member
Less
More
- Posts: 4
- Thank you received: 0
13 years 4 months ago #10438
by chocovo
Thanks a lot Ivan, you are the best. :woohoo:
It work fine.
Best Regards
Replied by chocovo on topic Re: <br/> in Image Description.
ivan.milic wrote: open modules/mod_hot_image_slider/mod_hot_image_slider.php
find this:
for ($loop = 1; $loop <= 9; $loop += 1) {
$imageDescArray[$loop] = $params->get('image'.$loop.'desc','');
}
and change it like this:
for ($loop = 1; $loop <= 9; $loop += 1) {
$imageDescArray[$loop] = str_replace("NEWLINE", "<br/>", $params->get('image'.$loop.'desc',''));
}
then use word NEWLINE instead of <br/>
Thanks a lot Ivan, you are the best. :woohoo:
It work fine.
Best Regards
Please Log in to join the conversation.
Time to create page: 0.085 seconds