Zen Cart Logo
Forums / General Questions / enabling wysiwyg editors on the product description

enabling wysiwyg editors on the product description

Locked

Views: 1,671

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
24 Apr 2008, 7:34 PM
#1
mrcoolboy15 avatar

mrcoolboy15

New Zenner

Join Date:
Feb 2008
Posts:
61
Plugin Contributions:
0

enabling wysiwyg editors on the product description

I am curious if there is a way to enable a wysiwyg editor for the admin for the product description, this would really help out my client.

24 Apr 2008, 8:23 PM
#2
colemanpa avatar

colemanpa

Zen Follower

Join Date:
Oct 2007
Location:
Fairbanks, Alaska
Posts:
423
Plugin Contributions:
0

Re: enabling wysiwyg editors on the product description

I am not sure if this will help, but there is a module in the downloads section "lookup" called FCKEDITOR that as close as your going to get, you should go and check it out.

25 Apr 2008, 6:44 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: enabling wysiwyg editors on the product description

or there's the built-in HTMLarea editor, which you can enable in Admin->Config->My Store

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

30 Apr 2008, 1:18 PM
#4
signs avatar

signs

Zen Follower

Join Date:
Jun 2006
Posts:
128
Plugin Contributions:
0

Re: enabling wysiwyg editors on the product description

DrByte:

or there's the built-in HTMLarea editor, which you can enable in Admin->Config->My Store

How would one go about modifying the orders.php page so the comments input box could be the HTMLarea editor and output clickable links in the comments section? Any ideas?

Not sure it can be done, but I really need this function as I have to post links to proof designs for customer's orders. The links go out fine in the Order Update email, but if they log into their account the link is static text.

Any help would be greatly appreciated. :smile:

30 Apr 2008, 1:32 PM
#5
signs avatar

signs

Zen Follower

Join Date:
Jun 2006
Posts:
128
Plugin Contributions:
0

Re: enabling wysiwyg editors on the product description

well, I got the editor to show up, replacing the text area for comments, but the output is still static text. Anyone know how I'd get the output to be html?

30 Apr 2008, 2:35 PM
#6
signs avatar

signs

Zen Follower

Join Date:
Jun 2006
Posts:
128
Plugin Contributions:
0

Re: enabling wysiwyg editors on the product description

well, after some investigation, I find that what needs to be done is this:

http://us2.php.net/manual/en/function.html-entity-decode.php

the html_entity_decode will make the html retain it's function and not convert the special characters needed to make the html work.

Any idea on how I would go about making this work on the orders.php page (or better yet, super_orders.php)?