Page 1 of 1

No line break in the guestbook

Posted: 08 Dec 2009, 10:07
by rawu
With 'Shift + Enter' a line break can be triggered in the editor. Unfortunately, this line break is not stored and therefore not displayed in the guestbook.

Edit: I solved the problem with a change in /com_phocaguestbook/controllers/phocaguestbook.php

line 73 old:

Code: Select all

$configP->set('HTML', 'Allowed', 'strong,em,p[style],span[style],img[src|width|height|alt|title],li,ul,ol,a[href],u,strike');
line 73 new:

Code: Select all

$configP->set('HTML', 'Allowed', 'strong,em,br[style],p[style],span[style],img[src|width|height|alt|title],li,ul,ol,a[href],u,strike');

best regards!
Ralf

Re: No line break in the guestbook

Posted: 09 Dec 2009, 17:43
by Jan
Hi, yes, you solved it right. This will be changed in some next version.

Jan