pluck
pluck 4.7 out now, download it today!

pluck support forums

for all your questions about the easiest CMS on the planet

You are not logged in.

Announcement

New registrations are disabled for some spam problems. New registrations will be avaliable soon. If you want to help to keep forum away from spam - contact us.
Please post your bug reports on Launchpad.

#1 26-01-2009 14:07:07

nobody
Member
Registered: 15-01-2009
Posts: 9

image description with line break

Hi all,

great CMS, thanks a lot! smile

I have a problem with the image description when I typed a line break.   It´s shown as "<br>" like this:

Dekor : rose <br>Form : <br>Größe :

instead of

Dekor : rose
Form :
Größe :

Where is my mistake.


Thank you for help!

Cheers

Offline

#2 26-01-2009 16:43:06

Sander
project webmaster
From: The Netherlands
Registered: 14-06-2007
Posts: 942
Website

Re: image description with line break

What are you typing in the image description field? You don't need to manually insert a "<br>" when you want to create a linebreak. Just a normal break will do, pluck will automatically convert it.

Offline

#3 26-01-2009 18:58:18

nobody
Member
Registered: 15-01-2009
Posts: 9

Re: image description with line break

that´s the problem, I type a normally linebreak (enter) but the result is an "<br>" instead of a linebreak ...

Offline

#4 28-01-2009 14:19:25

Sander
project webmaster
From: The Netherlands
Registered: 14-06-2007
Posts: 942
Website

Re: image description with line break

What version of pluck do you use?

Offline

#5 29-01-2009 08:24:25

nobody
Member
Registered: 15-01-2009
Posts: 9

Re: image description with line break

the Version is 4.6.1 of Pluck

Offline

#6 31-01-2009 10:05:15

Sander
project webmaster
From: The Netherlands
Registered: 14-06-2007
Posts: 942
Website

Re: image description with line break

Yes indeed, the album module seems to contain a bug. It has already been fixed for pluck 4.7, but you can fix it manually by following these steps:

1) open data/modules/albums/pages_admin/editalbum.php
2) find the line containing $cont2 = str_replace ("\n","<br>", $cont2);
3) cut and paste that line below the line containing $cont2 = htmlspecialchars($cont2);
4) done!

Offline

#7 02-02-2009 19:52:02

nobody
Member
Registered: 15-01-2009
Posts: 9

Re: image description with line break

Great !!! It works !!!

Thanks a lot!

big_smile

Cheers,
nobody

Offline

Board footer

Powered by FluxBB