| Author |
Message |
kb9nha Regular


Joined: Apr 26, 2008 Posts: 60 Location: Windy City
|
Posted:
Sat May 31, 2008 6:40 pm |
|
Hi all! This is my first post here. I recently rebuilt my website using RavenNuke. What a nice web portal. You guys here at Raven deserve a compliment. By the way, I need some info on how to integrate the FCKeditor that comes with RavenNuke to the center block admin menu of my website (). I used the NSN center block as in the past & would really like to integrate the FCKeditor in it. I've opened some files but still got no clue as to how to start integrating it. |
|
|
|
 |
kguske Site Admin

Joined: Jun 04, 2004 Posts: 6044
|
Posted:
Sat May 31, 2008 7:30 pm |
|
Welcome kb9nha. I did this for another site, but it was before nukeWYSIWYG (though it shouldn't be hard to integrate). Compress your admin/modules/cblocks directory and post a link for me to download. |
|
|
|
 |
kb9nha Regular


Joined: Apr 26, 2008 Posts: 60 Location: Windy City
|
Posted:
Sat May 31, 2008 7:44 pm |
|
| Quote: |
<?php
/********************************************************/
/* NSN Center Blocks */
/* By: NukeScripts Network (webmaster@nukescripts.net) */
/* */
/* Copyright © 2000-2005 by NukeScripts Network */
/********************************************************/
/* Original by: Richard Benfield */
/* */
/********************************************************/
global $admin_file, $adveditor;
$adveditor = 0;
if(!isset($admin_file)) { $admin_file = "admin"; }
if(!defined('ADMIN_FILE')) {
Header("Location: ../../".$admin_file.".php");
die();
...edited... |
|
Last edited by kb9nha on Sat May 31, 2008 8:04 pm; edited 2 times in total |
|
|
 |
kguske Site Admin

Joined: Jun 04, 2004 Posts: 6044
|
Posted:
Sat May 31, 2008 7:48 pm |
|
That isn't what I need. It's the 4 files in the admin/modules/cblocks directory. Please don't post them here, just a link or send them as an email attachment to kguske at bellsouth dot net |
|
|
|
 |
kb9nha Regular


Joined: Apr 26, 2008 Posts: 60 Location: Windy City
|
Posted:
Sat May 31, 2008 8:00 pm |
|
I've e-mailed the attachment to you. Just check your Inbox... |
|
|
|
 |
kguske Site Admin

Joined: Jun 04, 2004 Posts: 6044
|
Posted:
Sun Jun 01, 2008 4:18 pm |
|
Thanks, you should have the modified files now. |
|
|
|
 |
fkelly Moderator

Joined: Aug 30, 2005 Posts: 3186 Location: near Albany NY
|
Posted:
Sun Jun 01, 2008 6:04 pm |
|
Just as reference, I recently integrated the fckeditor into a custom module I had written 3 years ago. While having kguske do it for you may be simpler, doing it yourself is not beyond the capabilities of someone who is halfway capable with PHP. Look for instance as the Gcalendar module in your distribution and search on "wysiwyg textarea" and see how Gremmie integrated it into his module. Then model yours after his. Or really look at any of the modules in RN that use the fckeditor and just copy the code over.
You might also want to bookmark the fckeditor web site and forums (google for it) cause there are issues discussed there that can be relevant to any site admin. |
|
|
|
 |
kb9nha Regular


Joined: Apr 26, 2008 Posts: 60 Location: Windy City
|
Posted:
Sun Jun 01, 2008 11:28 pm |
|
| fkelly wrote: | Just as reference, I recently integrated the fckeditor into a custom module I had written 3 years ago. While having kguske do it for you may be simpler, doing it yourself is not beyond the capabilities of someone who is halfway capable with PHP. Look for instance as the Gcalendar module in your distribution and search on "wysiwyg textarea" and see how Gremmie integrated it into his module. Then model yours after his. Or really look at any of the modules in RN that use the fckeditor and just copy the code over.
You might also want to bookmark the fckeditor web site and forums (google for it) cause there are issues discussed there that can be relevant to any site admin. |
By the way, it was not really my intention for kguske or someone here at Raven to do the FCKeditor integration for my site's center block admin. I know you guys are busy too helping others here. Since kguske offered to help & ask to look on those center block files, I sent the files to him. What I need is the FCKeditor scripts embeded on the block files. I've open several files (including the block file) but all I've seen were mostly copyright scripts on FCKeditor. Nothing that would give me an idea as to how to integrate the particular editor mentioned.
I've also checked the FCKeditors website (fckeditor.net) prior to making my first forum thread here at Raven. I can't find any topics there regarding the editor's integration on PHP Nuke content management distribution.
Thanks for the info fkelly. I'll check the Gcalendar module & get more info. |
Last edited by kb9nha on Mon Jun 02, 2008 12:17 am; edited 3 times in total |
|
|
 |
kb9nha Regular


Joined: Apr 26, 2008 Posts: 60 Location: Windy City
|
Posted:
Sun Jun 01, 2008 11:36 pm |
|
| kguske wrote: | | Thanks, you should have the modified files now. |
Wait... I got it now by e-mail. You sent the edited files. You make my work a lot easier kguske. Thanks a lot man.
It works perfectly also.  |
|
|
|
 |
kguske Site Admin

Joined: Jun 04, 2004 Posts: 6044
|
Posted:
Mon Jun 02, 2008 2:07 pm |
|
It took 5 minutes because I'd already done for a client. |
|
|
|
 |
DJ_Raven New Member


Joined: Feb 26, 2006 Posts: 14 Location: Colorado, USA.
|
Posted:
Tue Dec 21, 2010 3:40 pm |
|
Can some one post this I have been trying to do the same thing for my center blocks and I have tried everything that I know of. Thank you for your time. |
|
|
|
 |
wiz Client

Joined: Oct 09, 2006 Posts: 394 Location: UK
|
Posted:
Mon Feb 14, 2011 8:28 pm |
|
I would also appreciate a wiki link to easily add the fckeditor to various forms on my sites. I saw a topic once on here to replace the textarea of a module; but havent been able to find it since.
Cheers |
|
|
|
 |
|
|
|
|