Editor <p> and <br>

Phoca Guestbook - creating guestbooks in Joomla! CMS
vidividi
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 28 Sep 2010, 14:23

Editor <p> and <br>

Post by vidividi »

Hi

i have installed this guestbook but i dont wont <p> for new row than <br>

i know get <br> with shift+enter but how get <br> with enter only?

(i have tinymce 2.0 and in setting is br for new row??)

sorry for my bad english.

by!
vidividi
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 28 Sep 2010, 14:23

Re: Editor <p> and <br>

Post by vidividi »

hi...i work and get this...but how set text (line) break at end of guestbook?

its very ugly and anoying
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48739
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Editor <p> and <br>

Post by Jan »

Hi, I think this needs to be customized somewhere in the javascript code of tinymce :-( but no experiences there (try to search this forum, if there are no similar posts to get more info but really no idea there :idea: :( )

Jan
If you find Phoca extensions useful, please support the project
SPABO
Phoca Member
Phoca Member
Posts: 15
Joined: 31 Oct 2010, 14:00

Re: Editor <p> and <br>

Post by SPABO »

Same problem here!
If I create an article in Joomla, it works fine with teh option <br>tags

However, when using the textbox in Phoca questbook, it standard use teh <p>tags.

And I wonder how this is possible, as teh Tiny plugin parameters are set for using the <br> tags by default!!

I would say, the same parmaters should be applicable in teh textbox of the Questbook
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48739
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Editor <p> and <br>

Post by Jan »

Hi, search this forum for this, it should be discussed somewhere, try to change parameters by html purifier (try to disable html purifiers and let me know if you get the same behaviour)

Jan
If you find Phoca extensions useful, please support the project
SPABO
Phoca Member
Phoca Member
Posts: 15
Joined: 31 Oct 2010, 14:00

Re: Editor <p> and <br>

Post by SPABO »

There is nothing on this in the forum.
So I conclude : no solution on this?? :(
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48739
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Editor <p> and <br>

Post by Jan »

Did you try to disable the html purifier?
If you find Phoca extensions useful, please support the project
SPABO
Phoca Member
Phoca Member
Posts: 15
Joined: 31 Oct 2010, 14:00

Re: Editor <p> and <br>

Post by SPABO »

Hi Jan
I disabled the purifier in teh MENUitem and in the GENERAL setting.
Also selceted TinyMCE as the standard WYSIWYG editor.
No results

If I look in FF with FB, I can see the line to be change, but I cannot locate the file....
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48739
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Editor <p> and <br>

Post by Jan »

Hi,
If I look in FF with FB, I can see the line to be change, but I cannot locate the file....
With FB you will see only output which is made by the editor.

There are two places, where this can be changed:

- HTML Purifier replace the tag (if you have disabled/enabled it, then this is not the place which change or add it)
- javascript editor creates it, then it needs to be searched in the javascript editoer (in Phoca Guestbook only TinyMCE is working)

Jan
If you find Phoca extensions useful, please support the project
SPABO
Phoca Member
Phoca Member
Posts: 15
Joined: 31 Oct 2010, 14:00

Re: Editor <p> and <br>

Post by SPABO »

Impossible I belief.
A pity it cannot simply be modified
Case closed
Post Reply