Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Want a WYSIWYG detailed description text area?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #101  
Old 04-24-2005, 07:47 AM
 
SkullHead SkullHead is offline
 

Advanced Member
  
Join Date: Apr 2005
Posts: 30
 

Default

When I installed it it on the latest release 4.0.13 it didn't work. After going in and looking at the htmlarea I noticed that when I uploaded the htmlarea folder It uploaded the folder structure htmlarea/htmlarea. I just deleted the file and opened htmlarea and then uploaded the inner htmlare folder and it worked great! Thanks for the editor!
__________________
4.0.17
PHP 4.4.7
Apache
MySQL server 5.0.51a-log
MySQL client 4.1.11
Web server Apache
Operation system Linux
Perl 5.008008
Reply With Quote
  #102  
Old 04-26-2005, 02:28 PM
 
parksmike parksmike is offline
 

Advanced Member
  
Join Date: Mar 2005
Posts: 77
 

Default HTMLArea on textareas

HTMLArea was good if you used IE. HTMLArea has quit updating.

We switched to FCKEditor. This works on 90% of the browsers, has a file uploader built in, and has different skins for the interface.

We have it integrated into one of our carts. Once you have the paths correct in FCKEditor, it works great.

They have this programmed to function in PHP, Javascript, ASP and .Net
__________________
<><><><><><><><><><><><>
Mike Parks
X-Cart: 4.1.x
Captain Jack Communications
Reply With Quote
  #103  
Old 05-02-2005, 09:05 PM
 
mrbiggles mrbiggles is offline
 

Senior Member
  
Join Date: Jan 2005
Location: Adelaide , South Australia
Posts: 107
 

Default

Hello
I have tried to get this to work but I get the following error. I am hoping that it is something simple.

script type="text/javascript"> var oFCKeditor = new FCKeditor( 'descr' ) ; oFCKeditor.ToolbarSet = "MyToolBar" ; oFCKeditor.ReplaceTextarea() ;

Regards Adam
__________________
www.creydall.com
X-Cart version 4.0.11
PHP 4.3.9 MySQL 4.0.22
Apache/1.3.33
Perl 5.008004
Adam
Adelaide South Australia
Reply With Quote
  #104  
Old 05-08-2005, 12:04 AM
 
SkullHead SkullHead is offline
 

Advanced Member
  
Join Date: Apr 2005
Posts: 30
 

Default

This mod for the full and short descriptions works great. Saved alot of work. You guys that came up with this did a good job.

http://www.amdrocks.com/photos/print.jpg

I got a question though. Is it possible that this mod can knock out the webmaster mode edit text box?
I've applied a couple mods and I'm trying to narrow
down which,if any, might have caused that.

When I go into webmaster mode and try to edit the text on the welcome page here or any page I get this blank text area box.
http://www.amdrocks.com/photos/error.jpg
__________________
4.0.17
PHP 4.4.7
Apache
MySQL server 5.0.51a-log
MySQL client 4.1.11
Web server Apache
Operation system Linux
Perl 5.008008
Reply With Quote
  #105  
Old 05-16-2005, 03:11 AM
  2019's Avatar 
2019 2019 is offline
 

Advanced Member
  
Join Date: Dec 2004
Posts: 76
 

Default

how to remove

</p> at fckeditor ?
__________________
// x-cart 4.1.9

X-CART CSS SKIN
XC SEO
IP Addresses in Users Online for all users
Color coded order status
Reply With Quote
  #106  
Old 07-23-2005, 01:39 AM
 
achintya achintya is offline
 

Member
  
Join Date: Jul 2005
Posts: 11
 

Default easy alternative to wysiwyg in product descriptions

Hi

In the latest x-cart I am able to use html code in both product descriptions and detailed descriptions.

I use dreamweaver to compose the text, then drop the code into the box.

This seems to produce what I need. As most product descriptions are 'one off' and not too likely to change that much, it seems much easier to just compose the description in Dreamweaver then drop the code in.

I have used this method to put tables into product descriptions and they display ok.

I am very wary of 'hacking' code to get wysiwyg as it all needs to be done again when there is an upgrade to x-cart. Too much trouble!


achintya

achintya
__________________
Achintya
Reply With Quote
  #107  
Old 10-12-2005, 09:37 AM
 
rightminddesigns rightminddesigns is offline
 

Advanced Member
  
Join Date: Sep 2005
Posts: 33
 

Default

For anyone who implements FCKeditor for product descriptions, you can also add it to the Static HTML editor text area.

Add this code to /skin1/admin/main/page_edit.tpl above the last closing </FORM> tag:
Code:
<script type="text/javascript"> var oFCKeditor = new FCKeditor( 'pagecontent' ) ; oFCKeditor.ToolbarSet = "Default" ; oFCKeditor.ReplaceTextarea() ; </script>

If you have not implemented it with the product descriptions, please be sure to follow the additional instructions in this thread.
__________________
X-Cart Gold 4.0.15 on Linux machine
Modules:
Features Comparison
Product Configurator
Fancy Categories (turned off)
Reply With Quote
  #108  
Old 10-12-2005, 07:19 PM
 
Wambli Wambli is offline
 

Advanced Member
  
Join Date: Sep 2005
Posts: 52
 

Default I would

I would like that it would be great
__________________
Christmas
x-cart 4.1.6
Reply With Quote
  #109  
Old 10-17-2005, 12:00 PM
 
rightminddesigns rightminddesigns is offline
 

Advanced Member
  
Join Date: Sep 2005
Posts: 33
 

Default

Just a tip for anyone using SSL & FCKeditor:
When you make the change to meta.tpl, be sure to use a path on the secure server to the .js file. Otherwise, it will cause warnings about unsecure content when using your admin area.

Use one of these two calls, making the appropriate changes for your setup:
Relative:
Code:
<script type="text/javascript" src="/xcartdir/fckeditor/fckeditor.js"></script>
Absolute:
Code:
<script type="text/javascript" src="https://yourdomain.com/xcartdir/fckeditor/fckeditor.js"></script>
__________________
X-Cart Gold 4.0.15 on Linux machine
Modules:
Features Comparison
Product Configurator
Fancy Categories (turned off)
Reply With Quote
  #110  
Old 10-21-2005, 08:09 PM
 
Wambli Wambli is offline
 

Advanced Member
  
Join Date: Sep 2005
Posts: 52
 

Default x-cart 4.0.13

Has anyone found a way for this to work in 4.0.13?
__________________
Christmas
x-cart 4.1.6
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 04:38 AM.

   

 
X-Cart forums © 2001-2020