| Author |
Message |
D72

Joined: 22 Feb 2007 Posts: 217 Location: NL |
|
|
|
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.
 |  | 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.
 |  | 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...
|
|
| Wed Mar 26, 2008 10:52 pm |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
D72

Joined: 22 Feb 2007 Posts: 217 Location: NL |
|
|
|
 |  | Screen Res @ 1440 X 900
Browser size @ 1024 X 768
 |
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...
|
|
| Wed Mar 26, 2008 10:56 pm |
|
 |
scottdallas

Joined: 04 May 2006 Posts: 2027 Location: US |
|
|
|
lol you're right that does look kinda silly. I haven't been home enough to get to play with the css file..
_________________ www.scodal.com is an example of cnr as a social forum - www.scottdizzle.com is an example of cnr as a personal website to share whatever cool stuff i feel like. i have another, but it's nsfw. pm me  |
|
| Fri Mar 28, 2008 3:03 am |
|
 |
eberswine

Joined: 26 Apr 2007 Posts: 159
|
|
|
|
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????
|
|
| Fri Mar 28, 2008 4:59 am |
|
 |
D72

Joined: 22 Feb 2007 Posts: 217 Location: NL |
|
|
|
 |  | 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.
|
|
| Fri Mar 28, 2008 8:38 am |
|
 |
sidtheduck

Joined: 28 Mar 2008 Posts: 71
|
|
|
|
 |  |
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.
 |  | 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. 
|
|
| Fri Mar 28, 2008 5:41 pm |
|
 |
D72

Joined: 22 Feb 2007 Posts: 217 Location: NL |
|
|
|
 |  | 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;}. |
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.
 |  | 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!
|
|
| Sun Mar 30, 2008 11:42 pm |
|
 |
sidtheduck

Joined: 28 Mar 2008 Posts: 71
|
|
|
|
 |  | 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!
|
|
| Mon Mar 31, 2008 3:37 am |
|
 |
D72

Joined: 22 Feb 2007 Posts: 217 Location: NL |
|
|
|
 |  |  |  | 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.
|
|
| Mon Mar 31, 2008 7:23 pm |
|
 |
sidtheduck

Joined: 28 Mar 2008 Posts: 71
|
|
|
|
 |  | 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.
|
|
| Mon Mar 31, 2008 8:18 pm |
|
 |
eberswine

Joined: 26 Apr 2007 Posts: 159
|
|
|
|
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.

|
|
| Tue Apr 01, 2008 1:08 am |
|
 |
sidtheduck

Joined: 28 Mar 2008 Posts: 71
|
|
|
|
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.
| Description: |
|
 Download |
| Filename: |
tinyfck-update.zip |
| Filesize: |
1.58 KB |
| Downloaded: |
135 Time(s) |
|
|
| Tue Apr 01, 2008 11:04 pm |
|
 |
ivanh
Joined: 16 Aug 2007 Posts: 72
|
|
|
|
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?
| Description: |
|
 Download |
| Filename: |
addnews.JPG |
| Filesize: |
133.9 KB |
| Downloaded: |
48 Time(s) |
|
|
| Thu Apr 03, 2008 2:14 pm |
|
 |
sidtheduck

Joined: 28 Mar 2008 Posts: 71
|
|
|
|
ivanh,
Just open up tinyfck.php (the plugin) and look for:
 |  | 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).
 |  | 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.
 |
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
|
|
| Thu Apr 03, 2008 4:46 pm |
|
 |
eberswine

Joined: 26 Apr 2007 Posts: 159
|
|
|
|
 |  | 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!
|
|
| Fri Apr 04, 2008 4:15 pm |
|
 |
|