Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> WYSIWYG - Raven's RavenNuke(tm) v2.x Distro
Author Message
id01
New Member
New Member



Joined: Nov 16, 2005
Posts: 15

PostPosted: Sat May 06, 2006 12:51 am Reply with quote

Since I downgraded to 7.6 (from 7.9) Everything seem to work quite well except the Conteudo module. (Available Only registered users can see links on this board! Get registered or login! I'm using the 3.0b3 version) Since it come with Fckeditor itself version 1.4 itself. I'm having a difficult time trying to get it to work.

At the moment, the built in FCKeditor work with IE only. Not in FF, but since Raven doesn't automatically add the editor to all the text area, in Firefox it won't show an editor at all. I been trying to undo the module down to only using text area in both Browser so I can apply the Experimential 2.0.2 FCKEditor. However I have not succed.

I have tried the advice in the readme file but I can't find the correct place to put this. I also tried the advice Only registered users can see links on this board! Get registered or login! but not having success.

Any idea what I can do to fix this problem where no editor will show up for Firefox?

Thank you


Last edited by id01 on Sat May 06, 2006 10:16 am; edited 1 time in total 
View user's profile Send private message
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6437

PostPosted: Sat May 06, 2006 6:14 am Reply with quote

As of yet, the RavenNuke distribution does not include nukeWYSIWYG with FCKeditor automatically. It also does not apply the editor to every textarea for security and performance reasons. And it works fine with Gecko browsers, including Firefox, as well as with IE.

When you mention built-in FCKeditor, are you referring to one that comes with Contenudo? If so, I will take a look at it to see how it works and how we might make it work with RavenNuke.

_________________
I search, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
id01







PostPosted: Sat May 06, 2006 10:04 am Reply with quote

kguske wrote:
As of yet, the RavenNuke distribution does not include nukeWYSIWYG with FCKeditor automatically. It also does not apply the editor to every textarea for security and performance reasons. And it works fine with Gecko browsers, including Firefox, as well as with IE.

When you mention built-in FCKeditor, are you referring to one that comes with Contenudo? If so, I will take a look at it to see how it works and how we might make it work with RavenNuke.


I do know Ravennuke's Experimential doesn't automaticallly turns every textarea into FCKeditor, in fact, that is a great thing. The old 7.9 editor is a very big security hold.

Yes, Conteudo come with it's own FCKeditor 1.4 built into it's own module. So right now, IE actually will still see the editor, but FF won't because FCKeditor 1.4 doesn't work with FF. And since there are no default editor in ravenscript, FF user won't see one at all.

Would be nice if someone can tell us how to turn Conteudo's to use the Raven's script 2.2 editor. It is much better then 1.4!
 
id01







PostPosted: Sat May 06, 2006 6:57 pm Reply with quote

I tried to look through the conteudo module again, this is the part I have the biggest difficulity with:

For example, in the /modules/Conteudo/includes/function_pagedit.php file

It have this following code:


Code:
   echo "<b>"._PAGETEXT.":</b><br><font class=\"tiny\">"._PAGEBREAK."</font><br><input type=\"checkbox\" name=\"atext\" value=\"1\" $sela>"._SHOWTEXT."<br>";

   if (($config['allowfck'] == 1) AND ($fckedit == 1) ) {
      //$oFCKeditor = new FCKeditor('text'); $oFCKeditor->Width = "100%"; $oFCKeditor->Height = "500"; $oFCKeditor->ToolbarSet = "Default"; $oFCKeditor->Value = "$mypages[text]";
      //echo $oFCKeditor->CreateHtml();
      $oFCKeditor = new FCKeditor;
      $oFCKeditor->Value = stripslashes($mypages['text']);
      $oFCKeditor->CreateFCKeditor('text', '750', 500, 'text', '');
      
   } else echo "<textarea name=\"text\" cols=\"80\" rows=\"30\">".stripslashes($mypages['text'])."</textarea><br><br>";


I decided to follows the example in the readme.txt of nukeWYSIWYG directory came with Ravenscript 2.0.2
But the text area refuse to load at all at that point. Debugging already turn on but it report no error.

Any idea?


Code:
   echo "<b>"._PAGETEXT.":</b><br><font class=\"tiny\">"._PAGEBREAK."</font><br><input type=\"checkbox\" name=\"atext\" value=\"1\" $sela>"._SHOWTEXT."<br>";

   #     ."<textarea name=\"text\" cols=\"80\" rows=\"30\">".stripslashes($mypages['text'])."</textarea><br><br>"
     wysiwyg_textarea("text", "", "NukeUser", "80", "30");
   
 
id01







PostPosted: Sat May 13, 2006 11:26 am Reply with quote

Alright. My mistake. I fixed the problem by embedding it differently. It now works perfectly on my site.

Let me know if anyone have problem and I will help them
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Sun May 14, 2006 10:15 am Reply with quote

Thanks id01.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> WYSIWYG - Raven's RavenNuke(tm) v2.x Distro

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 ©