Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

TinyMCE: Image appearance settings are lost

Asked Modified Viewed 7,357 times
Y
Yxos
Y
Yxos 10
Yxos

The best solution is not necessarily a technical solution !
  • Senior Member, joined since
  • Contributed 277 posts on the community forums.
  • Started 28 threads in the forums
  • Started this discussions
asked
Senior Member

In v7, When using TinyMCE to insert a right-justified picture in the news body, the appearance settings are lost.

Example:

1. First I enter the path to the picture in the General tab:
php-fusion.dk/images/bob1.PNG

2. Then I set the Alignment to "Right" in the Appearance tab:
php-fusion.dk/images/bob2.PNG

3: So far so good:
php-fusion.dk/images/bob3.PNG

4. But when I press "Preview news" the Right alignment is lost, and the news is presented as if no right-alignment was entered:
php-fusion.dk/images/bob4.PNG

Also the presentation inside the TinyMCE editor box has lost the right-justification:
php-fusion.dk/images/bob5.PNG


The same thing happens when pressing "Save news".
Also if I set other parameters in the Appearance tab, those settings are also lost.
0 replies

17 posts

N
NikonForum
N
  • Junior Member, joined since
  • Contributed 22 posts on the community forums.
  • Started 1 thread in the forums
answered
Junior Member

Have also noticed that, it is REALLY annoying since we post a lot of news on our site...

Developers, could you please look into this ?
0 replies
K
krispy_b
K
Webmaster of THREE PHP Fusion driven community sites;
Lord of the Rings Online, Jumpgate Evolution Fansite, & Da Orcs Ead - Warhammer Online fansite
  • Junior Member, joined since
  • Contributed 41 posts on the community forums.
  • Started 8 threads in the forums
answered
Junior Member

Yes I've found this too, and reported it here;
http://www.php-fusion.co.uk/forum/viewthread.php?thread_id=22319&pid=124063#post_124063

It is very annoying - work-around is to use the 'view html' icon, then find the images, and add an align="right" (or whatever you need) - that is kept on a save.
0 replies
W
WEC
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
answered
Veteran Member

And it's likely the same error already posted in the bug tracker:

http://www.php-fusion.co.uk/infusions...item_id=21

Odd thing is that it was rejected for some reason, maybe by mistake?
0 replies
N
NikonForum
N
  • Junior Member, joined since
  • Contributed 22 posts on the community forums.
  • Started 1 thread in the forums
answered
Junior Member

Quote

krispy_b wrote:
Yes I've found this too, and reported it here;
http://www.php-fusion.co.uk/forum/viewthread.php?thread_id=22319&pid=124063#post_124063
It is very annoying - work-around is to use the 'view html' icon, then find the images, and add an align="right" (or whatever you need) - that is kept on a save.


I am using a "HTML-template" for now but it is very annoying not to be able to use this featurerich-editor as it should be used...


Quote

WEC wrote:
And it's likely the same error already posted in the bug tracker:
http://www.php-fusion.co.uk/infusions...item_id=21
Odd thing is that it was rejected for some reason, maybe by mistake?


It MUST be a mistake, I canĀ“t belive why they would reject such a serious matter...
0 replies
Y
Yxos
Y
Yxos 10
Yxos

The best solution is not necessarily a technical solution !
  • Senior Member, joined since
  • Contributed 277 posts on the community forums.
  • Started 28 threads in the forums
  • Started this discussions
answered
Senior Member

Yes, this is the same problem that Nubs used 2 lines to describe in a short and exact way.

I have posted a note in the bugtracer for this problem in which I argue for the problem notbeing Minor, and where I ask for a second view on the bug.

I am already getting compaints from my users that news look silly because of this problem.
I would hate to see that PHPFusion get a reputation for being crappy because of such a problem, but I am afraid that this is a very "visible" thing to the end users. It is thrown in their faces every time they open their site.
I am afraid that no fancy Smiley-handling or Forumranking can make it up for this error.

Indeed the TinyMCE editor can be switched off, but please don't under estimate the value of it. Administrators of the local badminton club don't care much about HTML!
Edited by Yxos on 24-08-2008 15:26,
0 replies
Y
Yxos
Y
Yxos 10
Yxos

The best solution is not necessarily a technical solution !
  • Senior Member, joined since
  • Contributed 277 posts on the community forums.
  • Started 28 threads in the forums
  • Started this discussions
answered
Senior Member

http://www.php-fusion.co.uk/infusions...item_id=21

I notice that status has changed now from Rejected to Accepted.
Very much appreciated. Thank you. I will forward the good news to my users. The fix it not urgent, but the recognition is important and will probably make the difference when my users will decide if their site should be upgraded from v6 to v7.
Thanks again
0 replies
— 1 month later —
W
WEC
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
answered
Veteran Member

0 replies
Y
Yxos
Y
Yxos 10
Yxos

The best solution is not necessarily a technical solution !
  • Senior Member, joined since
  • Contributed 277 posts on the community forums.
  • Started 28 threads in the forums
  • Started this discussions
answered
Senior Member

...and it actually works - 80% I'd say.
There is still a problem with Preview, but I can live with that untill its solved.
0 replies
J
johslind
J
  • Junior Member, joined since
  • Contributed 43 posts on the community forums.
  • Started 8 threads in the forums
answered
Junior Member

If you press the edior's HTML-button, I'm sure you will find nothing added to the img-element about alignment. Here one could add the 'align="right"', and it would work, but that is not a thing to tell your clients.

I had a look at the TinyMCE homepage's Full Featured Example. It appears that there is no declaration for extended_valid_elements. I tried to disable that part of the initialisation at my own site. Now it works. To the source code has been added 'style="float: right;"'.

By the way, I had the same problem as you, also in a context that has nothing to do with PHPFusion. So it is not really a PF problem.

Edit:
If you do want to keep the declaration for extended_valid_elements, you can add the style attribute.
The problem seems to be that once you have declared something in the extended_valid_elements, nothing will be accepted by the editor unless it has been stated in the declaration.
Edited by johslind on 05-10-2008 11:11,
0 replies
Y
Yxos
Y
Yxos 10
Yxos

The best solution is not necessarily a technical solution !
  • Senior Member, joined since
  • Contributed 277 posts on the community forums.
  • Started 28 threads in the forums
  • Started this discussions
answered
Senior Member

Quote

johslind wrote:
...So it is not really a PF problem.

I am not too sure. when using revision 1004; http://php-fusion.svn.sourceforge.net...p?view=log
it works for me. This is a PF correction, and if it does the trick, then I think you can say that it is a PF problem.
0 replies
J
johslind
J
  • Junior Member, joined since
  • Contributed 43 posts on the community forums.
  • Started 8 threads in the forums
answered
Junior Member

Of course, as far as PF brings a TinyMCE initialisation. You will see that the suggested improvement in #1004 has added the attribute style.
0 replies
Y
Yxos
Y
Yxos 10
Yxos

The best solution is not necessarily a technical solution !
  • Senior Member, joined since
  • Contributed 277 posts on the community forums.
  • Started 28 threads in the forums
  • Started this discussions
answered
Senior Member

Exactly. I am sure that the preview will also be fixed at some point. I assume it is also an initialization problem.
0 replies
J
johslind
J
  • Junior Member, joined since
  • Contributed 43 posts on the community forums.
  • Started 8 threads in the forums
answered
Junior Member

Quote

Yxos wrote:
Exactly. I am sure that the preview will also be fixed at some point. I assume it is also an initialization problem.

Hardly.
Btw, I've just tested the preview with an image floating right in my PF. No problem. I may be using a newer version of TinyMCE, but that cannot make the difference.
And we are talking about PF v.7?
0 replies
Y
Yxos
Y
Yxos 10
Yxos

The best solution is not necessarily a technical solution !
  • Senior Member, joined since
  • Contributed 277 posts on the community forums.
  • Started 28 threads in the forums
  • Started this discussions
answered
Senior Member

Quote

johslind wrote:
And we are talking about PF v.7?

Indeed! V7 with the version of TinyMCE that comes with v7 in the Download from this site!
I am still convinced that we will have it all working soon :)
0 replies
Y
Yxos
Y
Yxos 10
Yxos

The best solution is not necessarily a technical solution !
  • Senior Member, joined since
  • Contributed 277 posts on the community forums.
  • Started 28 threads in the forums
  • Started this discussions
answered
Senior Member

Latest update:

I was testing with an existing "news" post.
When entering a new post, the problem cannot be reproduced for the preview.
I assume it must be something to do with the order of the parameters in the existing post that caused the problem, and confused the editor.

I seems the problem is solved with revision 1004!
0 replies
W
WEC
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
answered
Veteran Member

Using ../images/image.jpg seems not to work for me anymore, whereas it did previously. Preview will not show the image.

However if i use the complete url to the image, then preview works without any problem.
0 replies
W
WEC
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
answered
Veteran Member

Showed to be wrong Site URL set in main settings for the site i tested.

No errors for me using rev. 1004 now.
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 17 posts
  • Votes 0 votes
  • Topic users 5 members

5 participants

J
J
  • Junior Member, joined since
  • Contributed 43 posts on the community forums.
  • Started 8 threads in the forums
W
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
K
K
Webmaster of THREE PHP Fusion driven community sites;
Lord of the Rings Online, Jumpgate Evolution Fansite, & Da Orcs Ead - Warhammer Online fansite
  • Junior Member, joined since
  • Contributed 41 posts on the community forums.
  • Started 8 threads in the forums
N
N
  • Junior Member, joined since
  • Contributed 22 posts on the community forums.
  • Started 1 thread in the forums
Y
Y
Yxos 10
Yxos

The best solution is not necessarily a technical solution !
  • Senior Member, joined since
  • Contributed 277 posts on the community forums.
  • Started 28 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet