no formatting: align right, center, full

Phoca Guestbook - creating guestbooks in Joomla! CMS
flockey
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 26 Aug 2008, 15:36

no formatting: align right, center, full

Post by flockey »

All the formats like Bold, Italic, underline etc. works fine exept the align right, center or full. After saving the entry, the whole text is aligned left. I tried to change TinyMCE to JCE 1.5.1. I also tried with 4 different Templates (inclusive Beez), under Joomla 1.5.6. No way :(
Is there something what i can change in the Phoca Guestbook Code, or ist this a template css or editor problem?
Thanks a lot for hints,
flockey
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48689
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: no formatting: align right, center, full

Post by Jan »

I think not, because TinyMce add the not valid code there,e.g.:

<div align="right"> ...

it should be:
<div style="text-align:right"> ...

so the not valid code works somewhere but somewhere not :(

Jan
If you find Phoca extensions useful, please support the project
flockey
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 26 Aug 2008, 15:36

Re: no formatting: align right, center, full

Post by flockey »

Thank you Jan, this seems to be the problem.
Is there a possibility to change the editor, Phoca Guestbook uses?
I mean TinyMCE to JCE1.5.1 per example?
Thanks for ideas,
flockey
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48689
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: no formatting: align right, center, full

Post by Jan »

Only if you change the php code :(
If you find Phoca extensions useful, please support the project
svanschu
Phoca Member
Phoca Member
Posts: 22
Joined: 04 Mar 2008, 12:39
Location: Germany

Re: no formatting: align right, center, full

Post by svanschu »

Hi Jan,

just warmup that threat....

do you plan to change your code so other Editors can also be used?

Here you see how your guestbook can look like ;)
http://seelenhauch-band.de/gaestebuch.html
JoomTools.de Developer
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48689
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: no formatting: align right, center, full

Post by Jan »

no yet (because of time absence :( )

Jan

btw: http://seelenhauch-band.de/gaestebuch.html looks great (transparency and watermark)
If you find Phoca extensions useful, please support the project
Post Reply