X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Adding the FCKeditor HTML Editor (https://forum.x-cart.com/showthread.php?t=29771)

DataViking 09-26-2007 07:01 AM

Re: Adding the FCKeditor HTML Editor
 
I like one thing in the FCKeditor more than other I have try. for images you cna uplaod them from your computer. this feature is usefull for clients that don't know how to use FTP and is easier to uplaod images

parksmike 09-26-2007 07:51 AM

Re: Adding the FCKeditor HTML Editor
 
FCKeditor has a new plugin for the file uploader that is really cool The listing will show thumbnails of the images, you can also delete old ones. (You can not do that with the base system in FCK) It is CKFinder, however, it will cost you $60 US per domain But well worth it in my opinion

photo 10-25-2007 10:28 AM

Re: Adding the FCKeditor HTML Editor
 
Quote:

Originally Posted by shopccp
I found the field to insert the fckeditor in languages.tpl.

The field is 'new_var_value'.

The fckeditor is now in languages.tpl


Can you please post the code you changed/added to get this to work in languages?


Thanks

proboscidian 11-12-2007 07:37 PM

Re: Adding the FCKeditor HTML Editor
 
I am getting an error when I try to browse for images. It seems the editor is trying to connect to an ASP script. Has anyone else had this problem - or better, solved this problem? Other than browsing or creating folders, everything else seems to work.

PhilJ 11-18-2007 03:32 PM

Re: Adding the FCKeditor HTML Editor
 
Quote:

It is possible to configure FCKeditor to produce a truly semantic aware and XHTML 1.1 compliant code.
In v2.5 beta ... nice! Link

PhilJ 01-16-2008 12:49 PM

Re: Adding the FCKeditor HTML Editor
 
v2.5.1 now available, I've also added details on how to use it on news items, plus enable the upload system.

parksmike 01-16-2008 01:02 PM

Re: Adding the FCKeditor HTML Editor
 
Quote:

Originally Posted by proboscidian
I am getting an error when I try to browse for images. It seems the editor is trying to connect to an ASP script. Has anyone else had this problem - or better, solved this problem? Other than browsing or creating folders, everything else seems to work.


Edit fckconfig.js

On line 143 and 144 change to this:
Code:

var _FileBrowserLanguage        = 'php' ;        // asp | aspx | cfm | lasso | perl | php | py
var _QuickUploadLanguage        = 'php' ;        // asp | aspx | cfm | lasso | php


IanJacklin 02-08-2008 02:27 AM

Re: Adding the FCKeditor HTML Editor
 
Hi Guys
I have tried this mod but this is what I get. I have gone over and over looking for what I have done wrong. Can anyone help please I would be most greatful

downloaded v2.5.1
http://www.adaptadata.btinternet.co.uk/keepthis/problem.jpg

PhilJ 02-08-2008 05:20 AM

Re: Adding the FCKeditor HTML Editor
 
Use the 'default' toolbar set instead...
Code:

<script type="text/javascript">
var oFCKeditor = new FCKeditor('descr');
oFCKeditor.BasePath = "../fckeditor/";
oFCKeditor.Height="200";
oFCKeditor.ToolbarSet="Default";
oFCKeditor.ReplaceTextarea() ;
</script>


IanJacklin 02-08-2008 07:14 AM

Re: Adding the FCKeditor HTML Editor
 
Thanks Phil all is working great the only think was I could not find any file called config.php in
In /fckeditor/editor/filemanager/connectors/php/config.php
to change the code to
$Config['Enabled'] = True ;

or do I make a file called config.php


also could this be extended to use this under the webmaster mode!!


All times are GMT -8. The time now is 08:10 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.