newline shows in User Control Panel Desctiption?

Phoca Gallery - image gallery extension
mathg
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 16 Mar 2010, 10:06

newline shows in User Control Panel Desctiption?

Post by mathg »

Hi. I have enabled the user control panel to be able to upload images from the frontpage. But when I enter a description text, i'm not able to insert a newline. If I do it from backend it looks nice, but when I reopen the description from frontend User Control Panel, it shows as a </br>. I have been searching for help, but have not been able to find any :( Hope you can help? Kind regards.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: newline shows in User Control Panel Desctiption?

Post by Jan »

Hi, in frontend you can only add text as description, it is because of security reasons :-(

Jan
If you find Phoca extensions useful, please support the project
mathg
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 16 Mar 2010, 10:06

Re: newline shows in User Control Panel Desctiption?

Post by mathg »

Hi Jan

Thanks for the reply.

I might not have quite explained what my problem is, or mabye I just misunderstand. But I'm trying to write three lines in the description.

Name
Phone
Age

Backend is fine, but if I enter same information in the frontend, it ends up looking like this:

Name Phone Age

If I open the description entered backend, in the User Control Panel editor it looks something like this:

Name</br >Phone</br > Age</br >

Isn't it possible to enter line break in the frontend or is that considered "code"/html?

Kind regards.
reko
Phoca Professional
Phoca Professional
Posts: 407
Joined: 29 Dec 2008, 22:06

Re: newline shows in User Control Panel Desctiption?

Post by reko »

if the line breaks it really look like you posted

Code: Select all

</br >
, then you found a bug. HTML line breaks are supposed to be

Code: Select all

<br />
.
if so report to Jan!
thx,
rk
mathg
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 16 Mar 2010, 10:06

Re: newline shows in User Control Panel Desctiption?

Post by mathg »

No sorry you are right. But I still can't make the description look good, if its not possible to enter a Line Break from the front end. I'm trying to avoid letting users into the backend to be able to upload images with a description.
pacc
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 25 Mar 2011, 13:09

Re: newline shows in User Control Panel Desctiption?

Post by pacc »

I too am very interested to put the function back in <br /> just that is absolutely correct in front is not all bad as we can solve??
Post Reply