tinymce editor problem!!!

This forum is for general questions about extensions for Joomla! version 1.5.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
freevision
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Apr 29, 2008 1:32 pm

tinymce editor problem!!!

Post by freevision » Thu Jun 12, 2008 7:33 pm

hi,

I've a problem with my editor. before everything was fine . but after a while something happened and when I make a new entry for flash or activeX object into content by default tinymce editor entered object cant seems properly. even I edit HTML code it seems like below!

Code: Select all

<div class="mceItemObject" width="323" height="323"><div name="movie" value="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.4" class="mceItemParam"></div><div name="allowFullScreen" value="true" class="mceItemParam"></div><div name="flashVars" value="id=8268309&vid=2878787&lang=en-us&intl=us&thumbUrl=http%3A//us.i1.yimg.com/us.yimg.com/p/i/bcst/videosearch/3585/66216900.jpeg&embed=1" class="mceItemParam"></div><img src="http://www.borsaguide.com/plugins/editors/tinymce/jscripts/tiny_mce/themes/advanced/images/spacer.gif" style="width: 512px; height: 323px;" title="flashvars:'id=8268309&vid=2878787&lang=en-us&intl=us&thumbUrl=http%3A//us.i1.yimg.com/us.yimg.com/p/i/bcst/videosearch/3585/66216900.jpeg&embed=1',width:'512',height:'323'" class="mceItemFlash" align="" height="323" width="512"></div>
but it must be like below.

Code: Select all

<object width="400" height="225">	<param name="allowfullscreen" value="true" />	<param name="allowscriptaccess" value="always" />	<param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=1109226&server=www.vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1" />	<embed src="http://www.vimeo.com/moogaloop.swf?clip_id=1109226&server=www.vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="225"></embed></object><br /><a href="http://www.vimeo.com/1109226?pg=embed&sec=1109226">Big Ideas (don't get any)</a> from <a href="http://www.vimeo.com/user354216?pg=embed&sec=1109226">James Houston</a> on <a href="http://vimeo.com?pg=embed&sec=1109226">Vimeo</a>.
is anybody knows something about it. how can I fix it. should I reinstall whole system again or is there any trick about it.

kinda regards.

djohnson1215
Joomla! Explorer
Joomla! Explorer
Posts: 370
Joined: Fri Jun 13, 2008 7:49 pm
Location: Escondido, CA 92026
Contact:

Re: tinymce editor problem!!!

Post by djohnson1215 » Fri Jun 13, 2008 8:02 pm

I have the same problem. So I conducted some experiments. First I tried to insert a flash image using my WAMP environment on my desktop which is running a few Joomla 1.5.2 versions. No problems. Tinymce worked fine. But it produces significantly different code than what I see in my on-line website running 1.5.3.

Using tinymce on my on-line website, the flash comes up blank. When I right mouse click over, the area where the flash should appear, the drop down box says "file not loaded" but does identify it as a flash object.

Then I tried disabling tinymce on the global configuration screen. And then copied and pasted proper <object> html code. I saved the code and everything worked okay :-)

When I turned tinymce back on, everything still worked until I accessed the page with tinymce and saved. Tinymce changed the code as previously reported. Turning off tinymce and manually coding and saving corrected the condition. So for now, I can not edit the page where the flash resides while tiny is on.

This issue would appear to be a Joomla 1.5.3 / Tinymce 2.0 issue. Something appears to have changed between 1.5.2 and 1.5.3. However, I can not confirm this as the 1.5.2 verions is running on my WAMP server and 1.5.3 is running on my live server. There may be some differences in the environment.

Still, this appears to be an issue deserving of developers attention.

dgj :-)
D. Johnson
Technology is our advantage;
performance our passion

http://www.positionresearch.com

User avatar
humvee
Joomla! Master
Joomla! Master
Posts: 14704
Joined: Wed Aug 17, 2005 10:27 pm
Location: Kent, England

Re: tinymce editor problem!!!

Post by humvee » Sat Jun 14, 2008 3:20 pm

[Mod Note] Moved from Administration Questions

freevision
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Apr 29, 2008 1:32 pm

Re: tinymce editor problem!!!

Post by freevision » Mon Jun 16, 2008 10:14 am

well, I updated 1.5.2 to 1.5.3 as u do. maybe u right. maybe it happened after upgrade. but it rediculous. yeah I know I disabled editor from config. but it s not usefull. cause everytime I need to enter manual entries. waste of time. it should be something to do. :'( :'(

djohnson1215
Joomla! Explorer
Joomla! Explorer
Posts: 370
Joined: Fri Jun 13, 2008 7:49 pm
Location: Escondido, CA 92026
Contact:

Re: tinymce editor problem!!!

Post by djohnson1215 » Mon Jun 16, 2008 3:58 pm

Hello Freevision,

Well, your experience and mine seems to confirm that the issue started with Joomla 1.5.3.

So here is the question to the moderators of this thread: "what can we do to elevate this condition to the development team so there is quick resolution?" (or better yet - a patch).

By the way, I have tried a different editor plugin (JoomlaFCK) and it seems to work. However, it's formatting of flash images is not as robust as is tinymce (imho).

dgj
D. Johnson
Technology is our advantage;
performance our passion

http://www.positionresearch.com

freevision
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Apr 29, 2008 1:32 pm

Re: tinymce editor problem!!!

Post by freevision » Mon Jun 16, 2008 6:02 pm

djohnson1215 wrote:Hello Freevision,

Well, your experience and mine seems to confirm that the issue started with Joomla 1.5.3.

So here is the question to the moderators of this thread: "what can we do to elevate this condition to the development team so there is quick resolution?" (or better yet - a patch).

By the way, I have tried a different editor plugin (JoomlaFCK) and it seems to work. However, it's formatting of flash images is not as robust as is tinymce (imho).

dgj
I think that s the worst thing of the upgrading current system. somehow somethigns [censored] up then it s effecting whole system. god damn. lot s of wasting time. I've searched for hours about that stuff but no usefull info.

I even reuploaded plugins folder from clean installed local joomla. it didnT changed anything. also tried to install JFCK but it didnT worked for me. still looking for the solution about that... keep in touch bro.

regards

jcerious
Joomla! Intern
Joomla! Intern
Posts: 60
Joined: Thu Dec 13, 2007 3:59 pm

Re: tinymce editor problem!!!

Post by jcerious » Sat Jan 17, 2009 7:22 am

I've now read about 10 threads on this same problem and every thread's the same. The person states the problem - exactly the same as I'm having - and a few people chime in to state they're having the same problem - but there are no solutions to the problem given in any of these threads. What's going on here? I don't understand - it's like no questions ever get answered!

djohnson1215
Joomla! Explorer
Joomla! Explorer
Posts: 370
Joined: Fri Jun 13, 2008 7:49 pm
Location: Escondido, CA 92026
Contact:

Re: tinymce editor problem!!!

Post by djohnson1215 » Mon Jan 19, 2009 5:40 pm

There is no direct solution - just a work-around.

Work-around:

There are 2 ways around this problem:
1) set your editor in the Global Configuration to "Editor - No Editor" and then just insert good html code in the article.

2)You must turn off the tinyMCE editor's "Code Cleanup ..." functions before inserting good html code that references the flash object. To disable tinyMCE's "Code Cleanup..." function, go to the Editor - TinyMCE 2.0 plugin. The second through forth entry under the Plugin Parameters lets you set how tinyMCE changes (cleans) code.
Set Code Cleanup on Startup = OFF
Set Code cleanup on save = never
Set Do not clean HTML entries = NO

(I think option 2 still works - I use option 1 because it is easier.

After the article is Applied or Saved, you can set either work around back to the way it was. But here is the deal. If you open the article again for editing with tinyMCE as your editor and with normal tinyMCE cleanup settings, then DON'T save or apply. To edit the page, you must have either NO EDITOR set in Global Configuration or reset TinyMCE to not clean html code.

I keep a READ ME (DO NOT CHANGE) article with the correct HTML code just for safe keeping. Sometimes I just start editing the article with the flash object and save before I realize that tinyMCE will mess things up. When I realize my error, I go to the READ ME article with the good html is saved and recover my mistake.

Hope that helps.
dgj
D. Johnson
Technology is our advantage;
performance our passion

http://www.positionresearch.com

jcerious
Joomla! Intern
Joomla! Intern
Posts: 60
Joined: Thu Dec 13, 2007 3:59 pm

Re: tinymce editor problem!!!

Post by jcerious » Mon Jan 19, 2009 6:20 pm

Hi dgj - thanks for your help.

I've tried all those things though and none of them seem to work. No matter what I do - even with no tinymce - the minute I hit apply or save - it screws up the flash code... even with all the code cleanup stuff turned off. It's very strange, and I don't know how it could do this with the code cleanup settings set to off, but it does.

The only solution I've found is I have to go directly into the database and insert the code there. It's not that difficult - or that different from using Joomla - it's just a pain because it's one more thing you have to open and login to. Plus, my clients obviously can't use that method. So it's a pain for them.

I do the same thing you do though - keep a file with the original good code. That's a must because I'm always accidentally opening the article in Joomla!

I wish they could come up with a fix for this - from what I can see here it's been going on since at least 2005!

djohnson1215
Joomla! Explorer
Joomla! Explorer
Posts: 370
Joined: Fri Jun 13, 2008 7:49 pm
Location: Escondido, CA 92026
Contact:

Re: tinymce editor problem!!!

Post by djohnson1215 » Mon Jan 19, 2009 7:06 pm

Wow - I am using 1.5.8 and don't have a problem if I turn off the editor in the Global Configuration settings. But I have to admit that I am not sure if my turning off of the TinyMCE clean functions work - it has been too long since I worked on these pages. My standard operating procedure is to set the Global Configuration to "Editor - No Editor", or use a different editor. I also use JoomlaFCK and it seems to support FLASH html inserts okay.

I hear that TinyMCE 3.0 was to be included in Joomla 1.5.8 but for some reason did not make it. Since Joomla 1.6 is due out by the end of this month (as of last reports I read), it may include TinyMCE 3.0 and fix the problem.

dgj
D. Johnson
Technology is our advantage;
performance our passion

http://www.positionresearch.com

march hare
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 133
Joined: Thu Jan 08, 2009 10:21 am

Re: tinymce editor problem!!!

Post by march hare » Wed Jan 21, 2009 8:25 pm

as far as I can see, the tinyMCE with 1.5.9 simply does not work properly. If you choose clean up, it takes out many inline styles, if you turn clean up OFF it adds all sort of broken code... it is rubbish, and making my life a misery.

Joomla! brilliant, TinyMCS and joomla, not so great.

march hare
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 133
Joined: Thu Jan 08, 2009 10:21 am

Re: tinymce editor problem!!!

Post by march hare » Thu Jan 22, 2009 1:03 am

Swapped tinyMCE for JCE Editor, it is brilliant, joomla now sings like a bird, highly recommended.

http://www.joomlacontenteditor.net


Locked

Return to “Extensions for Joomla! 1.5”