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)
-   -   Want a WYSIWYG detailed description text area? (https://forum.x-cart.com/showthread.php?t=7407)

SkullHead 04-24-2005 07:47 AM

When I installed it it on the latest release 4.0.13 it didn't work. 8O 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! :wink: Thanks for the editor!

parksmike 04-26-2005 02:28 PM

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

mrbiggles 05-02-2005 09:05 PM

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

SkullHead 05-08-2005 12:04 AM

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. :wink:

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

2019 05-16-2005 03:11 AM

how to remove

</p> at fckeditor :roll: ?

achintya 07-23-2005 01:39 AM

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

rightminddesigns 10-12-2005 09:37 AM

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. :D

Wambli 10-12-2005 07:19 PM

I would
 
I would like that it would be great :lol:

rightminddesigns 10-17-2005 12:00 PM

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>

Wambli 10-21-2005 08:09 PM

x-cart 4.0.13
 
Has anyone found a way for this to work in 4.0.13?


All times are GMT -8. The time now is 02:24 PM.

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