Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> FCKeditor/WYSIWYG Issues
Author Message
kb9nha
Regular
Regular


Joined: Apr 26, 2008
Posts: 60
Location: Windy City

PostPosted: Sat May 31, 2008 6:40 pm Reply with quote

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 ( Only registered users can see links on this board! Get registered or login!). 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.
 
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6383

PostPosted: Sat May 31, 2008 7:30 pm Reply with quote

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.

_________________
I google, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
kb9nha
PostPosted: Sat May 31, 2008 7:44 pm Reply with quote

Quote:

<?php

/********************************************************/
/* NSN Center Blocks */
/* By: NukeScripts Network (webmaster@nukescripts.net) */
/* Only registered users can see links on this board! Get registered or login! */
/* Copyright © 2000-2005 by NukeScripts Network */
/********************************************************/
/* Original by: Richard Benfield */
/* Only registered users can see links on this board! Get registered or login! */
/********************************************************/

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
PostPosted: Sat May 31, 2008 7:48 pm Reply with quote

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
PostPosted: Sat May 31, 2008 8:00 pm Reply with quote

I've e-mailed the attachment to you. Just check your Inbox...
 
kguske
PostPosted: Sun Jun 01, 2008 4:18 pm Reply with quote

Thanks, you should have the modified files now.
 
fkelly
Former Moderator in Good Standing


Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY

PostPosted: Sun Jun 01, 2008 6:04 pm Reply with quote

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.
 
View user's profile Send private message Visit poster's website
kb9nha
PostPosted: Sun Jun 01, 2008 11:28 pm Reply with quote

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
PostPosted: Sun Jun 01, 2008 11:36 pm Reply with quote

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. Very Happy

It works perfectly also. Very Happy
 
kguske
PostPosted: Mon Jun 02, 2008 2:07 pm Reply with quote

It took 5 minutes because I'd already done for a client.
 
DJ_Raven
New Member
New Member


Joined: Feb 26, 2006
Posts: 14
Location: Colorado, USA.

PostPosted: Tue Dec 21, 2010 3:40 pm Reply with quote

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.

_________________
DJ Raven 
View user's profile Send private message Visit poster's website
wiz
Involved
Involved


Joined: Oct 09, 2006
Posts: 413
Location: UK

PostPosted: Mon Feb 14, 2011 8:28 pm Reply with quote

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
 
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> FCKeditor/WYSIWYG Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©