Forum Moderators: coopster

Message Too Old, No Replies

TinyMCE issue

         

danym

12:38 pm on Mar 7, 2008 (gmt 0)

10+ Year Member



Hello there,

I am creating a news CMS for an online newspaper in arabic and english languages.
the issue here, is that is want TinyMCE loads editor_content.css OR editor_content_ar.css according to a specific criteria (according to the language given).

thanks in advance

Dany

coopster

9:30 pm on Mar 7, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I'm not certain what your question/issue is yet but you seemed to have answered it yourself. You check the language and then serve the appropriate stylesheet based on the value.

danym

10:59 am on Mar 10, 2008 (gmt 0)

10+ Year Member



That's the problem i want to know how does it work.
because i tried to include the style sheet using php but it didn't work. the main sheet is being called from somewhere else in tinymce.
Regards,

paulmadillo

11:13 am on Mar 10, 2008 (gmt 0)

10+ Year Member



Maybe, you could make 2 alternate versions of tinyMCE with the two different versions of the CSS files and then inside your PHP files call up the JS file from either location depending on the language.

This would be a workaround rather than trying to hack into tiny's code.

coopster

7:16 pm on Mar 10, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



That's the problem i want to know how does it work.

As with anything, the documentation [wiki.moxiecode.com] is always a good start. Also, it depends on which version of TinyMCE you are running so keep that in mind as you develop.