Plugin • TinyFCK WYSIWYG Editor • Updated version 3.2.2

Download plugins, language packs and stuff.

Postby D72 » Wed Mar 26, 2008 10:52 pm

You can also play to disable some icons/functions so the editor fits better in cnr.
As i'm sick right now and lying on bed with my laptop i'm not able to show you some screenshots.
But you can try to play with it. Just figure out to make more or less rows for your icons and wich icons you need or not.
To disable icons/buttons you should add this in the tinymce.php, located in the plugins folder.
Code: Select all
tinyMCE.init({
   ...
   theme_advanced_disable : "bold,italic,or,what,ever,you,wants,to,be,disabled"
});

Just take a look at the names of the icons at this page.
Code: Select all
http://wiki.moxiecode.com/index.php/TinyMCE:Control_reference

There are more possibilities, but haven't tried them yet.

Be back in a couple of days... hopefully...
User avatar
D72
 
Posts: 336
Joined: Thu Feb 22, 2007 12:05 am
Location: NL

Postby D72 » Wed Mar 26, 2008 10:56 pm

eberswine wrote:Screen Res @ 1440 X 900
Browser size @ 1024 X 768


Image


You know what i hate?
The size of the title url field.
Sad that it's not easy to manipulate by css... the damn thing is always to large and heading over the cnr admin layout...
User avatar
D72
 
Posts: 336
Joined: Thu Feb 22, 2007 12:05 am
Location: NL

Postby scottdallas » Fri Mar 28, 2008 3:03 am

lol you're right that does look kinda silly. I haven't been home enough to get to play with the css file..
Everyday I'm tumblin http://scodal.tumblr.com
User avatar
scottdallas
 
Posts: 2209
Joined: Thu May 04, 2006 6:46 pm
Location: US

Postby eberswine » Fri Mar 28, 2008 4:59 am

has anyone found a way to link a picture ** hyperlink ** to a bigger picture ?

i.e.
have a picture here and link it to a bigger picture. Haven't found a way to do it????
User avatar
eberswine
 
Posts: 289
Joined: Thu Apr 26, 2007 7:23 pm

Postby D72 » Fri Mar 28, 2008 8:38 am

eberswine wrote:has anyone found a way to link a picture ** hyperlink ** to a bigger picture ?

i.e.
have a picture here and link it to a bigger picture. Haven't found a way to do it????


Choose to make a hyperlink and choose popup. You'll find a lot of ways to call your bigger picture. Though you have to upload your bigger picture as a file wich will be uploaded in ../UserFiles/File/ This directory isn't reachable through the 'Manage Images' of CNR. If you want to manage the files you have to access it by ftp. I will find a way shortly to change this. Easiest way i to store all files in the same folder. As i've found a way to do it i will update the TinyFCK download here.
User avatar
D72
 
Posts: 336
Joined: Thu Feb 22, 2007 12:05 am
Location: NL

Postby sidtheduck » Fri Mar 28, 2008 5:41 pm

D72 wrote:You know what i hate?
The size of the title url field.
Sad that it's not easy to manipulate by css... the damn thing is always to large and heading over the cnr admin layout...
This looks to be part of the function rufus_AddEdit() located in "inc/plugins.inc.php" (somewhere around line 390). Just swap out the size="42" something like id="urlintitle" or class="sidebarinput" or if you want all of the sidebar inputs to be the same length, delete the size="42" and call your CSS as #options input.text {display: block; width: 20px;}.



P.S.
D72 wrote:This directory isn't reachable through the 'Manage Images' of CNR. If you want to manage the files you have to access it by ftp. I will find a way shortly to change this.
Check your email, Dave! I tweaked the plugin a little and it should find the default CNR image upload file through the TinyFCK filebrowser. ;)
User avatar
sidtheduck
 
Posts: 71
Joined: Fri Mar 28, 2008 5:17 pm

Postby D72 » Sun Mar 30, 2008 11:42 pm

sidtheduck wrote:This looks to be part of the function rufus_AddEdit() located in "inc/plugins.inc.php" (somewhere around line 390). Just swap out the size="42" something like id="urlintitle" or class="sidebarinput" or if you want all of the sidebar inputs to be the same length, delete the size="42" and call your CSS as #options input.text {display: block; width: 20px;}.

:D O M G
Welcome Sidtheduck! And thanks. I complain about those things, but i have to confess... i noticed that the title url field wasnt in the css file as a class, so what i do? Complaining and being annoyed.
I never attempt to find out where it's really located. This saves me 15 minutes in life, thanks. :)

sidtheduck wrote:Check your email, Dave! I tweaked the plugin a little and it should find the default CNR image upload file through the TinyFCK filebrowser. ;)

Tweaked the thing a little? It's allmost rewritten! I've updated the file and it's working outstanding. In every new way! Thanks, again!
User avatar
D72
 
Posts: 336
Joined: Thu Feb 22, 2007 12:05 am
Location: NL

Postby sidtheduck » Mon Mar 31, 2008 3:37 am

D72 wrote:Tweaked the thing a little? It's allmost rewritten! I've updated the file and it's working outstanding. In every new way! Thanks, again!
I don't know about re-written! ;) I just modified the paths on it to point to the right spot (although I did have to modify the TinyFCK filebrowser code a little).

Hope it works well for you!
User avatar
sidtheduck
 
Posts: 71
Joined: Fri Mar 28, 2008 5:17 pm

Postby D72 » Mon Mar 31, 2008 7:23 pm

sidtheduck wrote:
D72 wrote:Tweaked the thing a little? It's allmost rewritten! I've updated the file and it's working outstanding. In every new way! Thanks, again!
I don't know about re-written! ;) I just modified the paths on it to point to the right spot (although I did have to modify the TinyFCK filebrowser code a little).
Hope it works well for you!


Oops, i was a little to hasty. I replaced a tinyfck on a website with the new one, but the image path isn't correct.
So i replaced that one with my older version.
I will test it tonight on my own test site and will let you know if i'm still having problems with the image paths.
Tinyfck has got an unknown path in the filemanager for the images. I'll let you know later on.
User avatar
D72
 
Posts: 336
Joined: Thu Feb 22, 2007 12:05 am
Location: NL

Postby sidtheduck » Mon Mar 31, 2008 8:18 pm

D72 wrote:Oops, i was a little to hasty. I replaced a tinyfck on a website with the new one, but the image path isn't correct.
So i replaced that one with my older version.
I will test it tonight on my own test site and will let you know if i'm still having problems with the image paths.
Tinyfck has got an unknown path in the filemanager for the images. I'll let you know later on.
Let me know what you find out.

Although after replacing it, you should clear your browser cache and your cutenews cache both to make sure it's pulling in the new php and javascript (because I had to modify the javascript itself as well as the php). Sometimes the old javascript is still in the browser cache and then it won't update the image paths correctly when using the image filebrowser.
User avatar
sidtheduck
 
Posts: 71
Joined: Fri Mar 28, 2008 5:17 pm

Postby eberswine » Tue Apr 01, 2008 1:08 am

Ok, here is the problem with the new install.

It is probably "user error"...
In my system settings the image path is default.

When I go to insert an image, it will upload fine, but when I actually click on the picture to insert it :: it adds the wrong directory in the file / image path...
For example >> data/upimages/picture.jpg
that is how it is uploaded, but when I click to insert it >> data/upimages/Image/picture.jpg

????
I looked all around... not sure what I'm missing.


Image
User avatar
eberswine
 
Posts: 289
Joined: Thu Apr 26, 2007 7:23 pm

Postby sidtheduck » Tue Apr 01, 2008 11:04 pm

I see that now. I missed one of the functions in the TinyFCK filebrowser. I've fixed that plus D72's filepath problem (happens on a virtual host server). The updated relevant files are attached (/tinyfck/tinyfck.config.php + /tinyfck/filemanager/connectors/php/io.php). Replace those 2 files on your install, clear your cutenews cache, + clear your browser cache and everything should be peachy.

p.s. I've also sent the full updated script to D72 so he can update the download in the first post when he gets some time.
Attachments
tinyfck-update.zip
(1.58 KiB) Downloaded 352 times
User avatar
sidtheduck
 
Posts: 71
Joined: Fri Mar 28, 2008 5:17 pm

Postby ivanh » Thu Apr 03, 2008 2:14 pm

hi
it works perfectly fine
except my content div is only 680px wide
so this editor is wayyyyyyyy wider then my content and looks all wierd

i tried looking at the CSS for it and all that but didnt help much

ive attached a picture of what it looks like

can anyone help?
Attachments
addnews.JPG
booo ;'[
(133.9 KiB) Downloaded 170 times
ivanh
 
Posts: 75
Joined: Thu Aug 16, 2007 2:41 pm

Postby sidtheduck » Thu Apr 03, 2008 4:46 pm

ivanh,

Just open up tinyfck.php (the plugin) and look for:
Code: Select all
width : "100%",

You should be able to change that to whatever you want (although if your toolbars are too long, those are what determine the width so you may need to remove some buttons from the same tinyfck.php file).


eberswine wrote:I have messed around and found a good setting for both firefox and ie.
[. . .]
This is the table size. I think this is the best setting.
:lol: :lol: :lol:

Or, you can follow eberswine's advice (see quote above) and make the CuteNewsRU 'Add / Edit News' wider by following his suggestions here -> http://english.cutenews.ru/forum/plugin-%95-tinyfck-wysiwyg-editor-with-file---image-manager-t2045.html#11785
User avatar
sidtheduck
 
Posts: 71
Joined: Fri Mar 28, 2008 5:17 pm

Postby eberswine » Fri Apr 04, 2008 4:15 pm

sidtheduck wrote:I see that now. I missed one of the functions in the TinyFCK filebrowser. I've fixed that plus D72's filepath problem (happens on a virtual host server). The updated relevant files are attached (/tinyfck/tinyfck.config.php + /tinyfck/filemanager/connectors/php/io.php). Replace those 2 files on your install, clear your cutenews cache, + clear your browser cache and everything should be peachy.


Works Great. Thanks for all the help!
User avatar
eberswine
 
Posts: 289
Joined: Thu Apr 26, 2007 7:23 pm

PreviousNext

Return to Additional Downloads



Who is online

Users browsing this forum: No registered users and 0 guests

cron