| Author |
Message |
D72

Joined: 22 Feb 2007 Posts: 217 Location: NL |
|
Plugin • TinyFCK WYSIWYG Editor with File / Image Manager |
|
* //New modified version available with a lot of fixes and improvements by --> Sidtheduck
Read the lines below what's inside the updated TinyFCK Editor.
I was dealing for allmost a year with editors i could use without any problems in CNR.
The default editor of CNR is pretty good, but for clients it's a confusing editor.
So therefore i used Spaw for a while, but this editor wasn't compatible with some servers. Don't exactly why that is, but it is.
So from time to time i searched for a good alternative. People should be able easily to add colors to their text, upload images etc
I tried the TinyMCE editor wich is available here, but that version is a bit corrupt in a way. Also to customize the size of it so it fits perfectly in CNR is screwed up because of the absolute fixed icon set in the advanced version.
Now, for a couple of weeks ago i discovered that there is TinyFCK. That's an editor, based on TinyMCE, but with the file/image manager integrated of FCKeditor. And you know? It's working perfect. I tried to use the tinymce plugin file from here, changed some little details and it's working.
So everybody who's interested, you can get your self a copy from now.
========================================================================================
Usage:
========================================================================================
Download the .zip file.
Extract the .zip file and you'll see a folder /tinyfck a file tinymce.php a folder /mod with editnews.mdu and addnews.mdu These two files are based on the original .mdu files but without the emoticons and bbcode lines. Because you can't use them anymore with this editor.
Upload the tinymce.php file in the plugin folder of CNR
Upload the tinyfck folder in the plugin folder of CNR
Upload the editnews.mdu and addnews.mdu in you inc/mod/ folder. (Backup your original ones)
Go to the Plugin options and activate the TinyFCK plugin. (clear your cache after that)
The editor should be there from now.
It might happen, when you're going to Edit an article for the first time after the editor is installed, that you see characters like: {N} These stands for an 'Enter'. Just select them and replace them by giving an Enter on your keyboard.
========================================================================================
Fixes and Improvements - March 31st 2008
========================================================================================
1. Added 'tinyfck.config.php' to the tinyfck folder.
This automatically grabs the server paths to point the filebrowser at the 'data/upimages' folder instead of "/UserFiles/".
2. Edited 'tinyfck\filemanager\connectors\php\config.php' to use the new variables in the 'tinyfck.config.php' file.
3. Edited 'tinyfck\filemanager\connectors\php\io.php' to dump everything in the same folder (not create a separate folder for 'Images' or 'Files', etc. so that you see the root folder of 'upimages'. So if you have allready installed TinyFCK editor and planning to update with this new version. Don't forget to change your image path again to it's original state and remove your images again to data/upimages).
4. Edited 'tinyfck\filemanager\connectors\php\commands.php' to skip over any .htaccess files (I noticed it was picking those up on my server and didn't want a user to accidentally insert that file into their post).
5. Added the gzip compression files 'tiny_mce_gzip.php' and 'tiny_mce_gzip.js' which drops the load time for tinyMCE by about 75% (per the TinyMCE website). Note that some people may experience problems with this on certain servers.
6. Renamed the 'tinymce.php' file to 'tinyfck.php' and edited the code to pull in the gzip compression files instead of the uncompressed files. If users experience a problem with #5 above, have them edit this file to change back from 'tiny_mce_gzip.php' to 'tiny_mce.js" and it should work fine.
========================================================================================
That's it. Nothing more, nothing less.
Good luck, but it should do it without any further information. Im quiet happy that i can use a decent editor from now on. Hope you will have the same happiness as i have.
Dave.
| Description: |
| English and Dutch language are included. For other languages, try to download the one you need from http://tinymce.moxiecode.com/language.php and change you language code in the tinymce.php file. |
|
 Download |
| Filename: |
tinyFCK.zip |
| Filesize: |
663.37 KB |
| Downloaded: |
325 Time(s) |
Last edited by D72 on Sun Mar 30, 2008 11:00 pm; edited 4 times in total |
|
| Thu Mar 20, 2008 10:27 am |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
Mystic2010
Joined: 10 Jan 2007 Posts: 51
|
|
|
|
Thnx for letting us in on this tip. Think I'm gonna try it out. Am currently succesfully running TinyMCE with a custom ajax file manager to upload files. (You might wanna check out my reply in the TinyMCE thread, I did manage to get the editor working, inside the width of the news posting areas, with almost all necessary options)
Edit:
Am I correct when stating the TinyFCK website seems to be offline? May I ask where you got your copy from? Thanks.
|
|
| Thu Mar 20, 2008 12:32 pm |
|
 |
D72

Joined: 22 Feb 2007 Posts: 217 Location: NL |
|
|
|
 |  | Thnx for letting us in on this tip. Think I'm gonna try it out. Am currently succesfully running TinyMCE with a custom ajax file manager to upload files. (You might wanna check out my reply in the TinyMCE thread, I did manage to get the editor working, inside the width of the news posting areas, with almost all necessary options)
Edit:
Am I correct when stating the TinyFCK website seems to be offline? May I ask where you got your copy from? Thanks. |
- Think i'd saw your reply in the TinyMCE topic and it's great that it's working for you. Beter have 10 possibilities to add an editor to CNR then none.
Maybe you could start a topic to of your version of TinyMCE with all necessary files to get it work. Because the version of this image/file manager is only compatible with the TinyMCE versions 2.xx as version 3 is allready up and running.
- That the TinyFCK site is down is correctly. I mentioned this also. Dunno why that is. Guess it became not compatible anymore with newer versions of TinyMCE.
I've got my copy somewhere from the internet. I read about it somewhere, searched for the latest release and downloaded it from a forum or something. Really have no clue anymore where that might have happened.
|
|
| Thu Mar 20, 2008 2:05 pm |
|
 |
scottdallas

Joined: 04 May 2006 Posts: 1943 Location: US |
|
|
|
Cool did you just add this to the site? I don't think I noticed this before. I too have been trying and trying all sorts of different WYSIWYG editors and came out just wanting to rip my hair out and decided to just leave it alone. I'm eager to try this one out and report back.. but it might not be right away I'm leaving it on my desktop as a reminder though.
I agree, clients will def enjoy an editor that reminds them of Word. Personally, I keep using the built in editor cause it loads so fast. I need speed! Does this load okay?
_________________ www.scottdizzle.com uses cnr
last update: 07-22-08: 8:30 pm |
|
| Sat Mar 22, 2008 11:56 pm |
|
 |
sydgal
Joined: 23 Mar 2008 Posts: 1
|
|
Need some help |
|
Hopefully someone can help me.
I've installed the editor, followed your instructions and activated the editor in the settings but I'm still seeing the old editor.
What am I doing wrong?
Thanks!
|
|
| Sun Mar 23, 2008 6:12 am |
|
 |
D72

Joined: 22 Feb 2007 Posts: 217 Location: NL |
|
Re: Need some help |
|
 |  | Hopefully someone can help me.
I've installed the editor, followed your instructions and activated the editor in the settings but I'm still seeing the old editor.
What am I doing wrong?
Thanks! |
That's strange, because the tinymce.php file, wich is located in the plugin folder, is allmost familiar with the one that FI-DD made for the regular TinyMCE.
Try to replace the editnews.mdu and addnews.mdu in the inc/mod/with the files i attached.
It must be visible, no doubt about that.
|
|
| Sun Mar 23, 2008 1:21 pm |
|
 |
D72

Joined: 22 Feb 2007 Posts: 217 Location: NL |
|
|
|
 |  | Cool did you just add this to the site? I don't think I noticed this before. I too have been trying and trying all sorts of different WYSIWYG editors and came out just wanting to rip my hair out and decided to just leave it alone. I'm eager to try this one out and report back.. but it might not be right away I'm leaving it on my desktop as a reminder though.
I agree, clients will def enjoy an editor that reminds them of Word. Personally, I keep using the built in editor cause it loads so fast. I need speed! Does this load okay? |
Scott...
Do you have 'Eye issues'?
 |  | Posted: Thu Mar 20, 2008 10:27 am |
But i agree, some people/clients are soooo way toooo Nerdish. If you call the name 'Email' some of them will go dizzy about it.
So yeah, it's really a must have for those people to have a decent editor.
i hope it's working for you to.
* I'm flattered... do you really have a sticky note on your desk wich is saying... Dave's editor... install tonight?

|
|
| Sun Mar 23, 2008 1:27 pm |
|
 |
eberswine

Joined: 26 Apr 2007 Posts: 148
|
|
|
|
just installed it with the GREAT INSTRUCTIONS!
No problems and it works like a CHARM.
One question. The default puts linebreaks in! Is there a way to have it default without!
I know about the FORMAT SWITCHER... but again. we are talking about trying to explain code to our clients... which we all know doesn't work that well...
GREAT JOB WITH THIS EDITOR! AMAZING!!
|
|
| Sun Mar 23, 2008 3:25 pm |
|
 |
scottdallas

Joined: 04 May 2006 Posts: 1943 Location: US |
|
|
|
Haha I saw the date you added it but I didn't believe it.. that is pretty new lol I'll consider this an early birthday present. Good work.. although I still didn't try it. I'm pissed you beat me to it jk jk I'm glad there's lots of us working to make this cms the best.. I've been eh.. unsure of what web direction to go but I can't help but keep playing with the script cause when I want to make something sweet I want to know I have a really kick ass cnr distribution to install
 |  | I'm flattered... do you really have a sticky note on your desk wich is saying... Dave's editor... install tonight? |
LOL no, I just downloaded the zip and it automatically goes to my desktop haha.. I mean adding a perfect wysiwyg editor to cnr is really a monumental step forward.. look how many different attempts are on this forum! And if you have it and working and love it eberswine, I'm pretty sure I'm going to love it too.
_________________ www.scottdizzle.com uses cnr
last update: 07-22-08: 8:30 pm |
|
| Mon Mar 24, 2008 12:39 am |
|
 |
D72

Joined: 22 Feb 2007 Posts: 217 Location: NL |
|
|
|
 |  | just installed it with the GREAT INSTRUCTIONS!
No problems and it works like a CHARM.
One question. The default puts linebreaks in! Is there a way to have it default without!
I know about the FORMAT SWITCHER... but again. we are talking about trying to explain code to our clients... which we all know doesn't work that well...
GREAT JOB WITH THIS EDITOR! AMAZING!! |
I remember that i was searching for this a while ago.
But i think that it's ok for me now. The default way of behaviour of tinymce is that it creates a <p> paragraph. Also by giving an enter. When you hold shift it makes a linebreak. For me it's a perfect way of typing. Loook here, it might give a sollution for you problem. If not... try google though.
 |  | http://tinymce.moxiecode.com/punbb/viewtopic.php?pid=18144 |
|
|
| Tue Mar 25, 2008 8:32 am |
|
 |
SickQuilver
Joined: 12 Mar 2008 Posts: 15 Location: Amsterdam, The Netherlands |
|
|
|
I got one problem the edit area is to large now it's going under the categories?
i've seen it befor somewhere here
|
|
| Tue Mar 25, 2008 10:59 am |
|
 |
eberswine

Joined: 26 Apr 2007 Posts: 148
|
|
|
|
I have messed around and found a good setting for both firefox and ie.
First goto:
../skins/default.css
Change this:
 |  | #title, #short, #full, #actions {
width: 410px;
border-right: solid 1px #f7f7f7;
float: left;
clear: both;
}
#short textarea, #full textarea {
width: 400px;
height: 150px;
}
#title input {
width: 400px;
} |
TO THIS:
 |  | #title, #short, #full, #actions {
width: 6000px;
border-right: solid 1px #f7f7f7;
float: left;
clear: both;
}
#short textarea, #full textarea {
width: 600px;
height: 150px;
}
#title input {
width: 600px;
} |
Then go to ../skins/default.skin.php
And change this:
 |  | <table border="0" cellpadding="0" cellspacing="0" width="700"> |
To this:
 |  | <table border="0" cellpadding="0" cellspacing="0" width="900"> |
This is the table size. I think this is the best setting.

|
|
| Tue Mar 25, 2008 2:37 pm |
|
 |
scottdallas

Joined: 04 May 2006 Posts: 1943 Location: US |
|
|
|
You're right, I think the width should be pushed out too. Good work eberswine.. can't believe none of us haven't done that sooner.
Hey, can you take a screenshot so I can see what it looks like? What res do you run?
_________________ www.scottdizzle.com uses cnr
last update: 07-22-08: 8:30 pm |
|
| Tue Mar 25, 2008 4:57 pm |
|
 |
eberswine

Joined: 26 Apr 2007 Posts: 148
|
|
|
|
Screen Res @ 1440 X 900
Browser size @ 1024 X 768

|
|
| Tue Mar 25, 2008 5:50 pm |
|
 |
scottdallas

Joined: 04 May 2006 Posts: 1943 Location: US |
|
|
|
Beautiful, that inspires me to play with the css files of cutenews.ru
_________________ www.scottdizzle.com uses cnr
last update: 07-22-08: 8:30 pm |
|
| Wed Mar 26, 2008 5:11 am |
|
 |
|