Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 09-14-2004 15:58:43

superhero2000
Member
From: Harrisburg, PA
Registered: 03-26-2003
Posts: 1025
Website

Wysiwyg Editor For Administration Area

I have implemented a mod to the Clickcart Administration area that will aid non-coders in using HTML tags within their TEXTAREA.  This is an extremely useful tool for such areas as product descriptions, category descriptions, HTML emails for the mailing list,  and anywhere else that uses a TEXTAREA for HTML coding for display purposes.  This mod will allow administrators to use a WYSIWYG editor replacement for any <textarea> field. Instead of teaching your clients how to code basic HTML to format their content, with the help of this mod, it will use an WYSIWYG interface to do the formatting.

If you are interested, please feel free to email me for more information.


Vinh
VQC Designs, LLC


Offline

 

#2 09-24-2004 13:01:22

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19876
Website

Re: Wysiwyg Editor For Administration Area

I just requested a demo on this - sounds interesting.


Nick Hendler

Offline

 

#3 09-30-2004 16:08:43

superhero2000
Member
From: Harrisburg, PA
Registered: 03-26-2003
Posts: 1025
Website

Re: Wysiwyg Editor For Administration Area

For those interested, please visit  for a demo of the WYSIWYG Mod.

username:demo
password: demo

You will see the mod in action under 'Store Catalog' in areas that have textareas.


Vinh
VQC Designs, LLC


Offline

 

#4 09-30-2004 17:22:11

redmanstudios
Member
Registered: 11-10-2003
Posts: 387

Re: Wysiwyg Editor For Administration Area

This doesn't seem to work on any mac browsers. It must be IE specific like most of the wysiwyg editors. but it does look cool when i us it on my pc box.
james

Offline

 

#5 09-30-2004 17:56:33

superhero2000
Member
From: Harrisburg, PA
Registered: 03-26-2003
Posts: 1025
Website

Re: Wysiwyg Editor For Administration Area

Macintosh browsers do not support "contentEditable" or a way to make existing content in the page editable, therefore, this mod will not work if you are using a Mac. 

It is currently ONLY compatiable with IE 5.5+ for Windows only.  There is a beta version under development which will support IE 5.5+ (Windows)/Mozilla 1.3 (all OS) cross platform functionality.


Vinh
VQC Designs, LLC


Offline

 

#6 09-30-2004 17:59:39

Quizno
Member
Registered: 06-02-2003
Posts: 447

Re: Wysiwyg Editor For Administration Area

Hero,

Can't get to the Store Catalog area in the demo area.  You need to give the demo account a higher access level.

Offline

 

#7 10-01-2004 10:34:11

superhero2000
Member
From: Harrisburg, PA
Registered: 03-26-2003
Posts: 1025
Website

Re: Wysiwyg Editor For Administration Area

Hmmm...I can get in just fine and access that area.  Are you sure your using the information I posted above?


Vinh
VQC Designs, LLC


Offline

 

#8 10-01-2004 13:44:54

Ed_H
Member
From: Smashachusetts
Registered: 09-12-2003
Posts: 397
Website

Re: Wysiwyg Editor For Administration Area

I'm seeing only 'Reports' as an option in the main menu.....

Offline

 

#9 10-01-2004 13:53:23

redmanstudios
Member
Registered: 11-10-2003
Posts: 387

Re: Wysiwyg Editor For Administration Area

the "Store Catalog" option overlays the Main menu when  you roll over it rather then  droping down. I am on a mac and i see it. just look carefully it's there.

james

Offline

 

#10 10-01-2004 14:02:48

Ed_H
Member
From: Smashachusetts
Registered: 09-12-2003
Posts: 397
Website

Re: Wysiwyg Editor For Administration Area

Got it - thanks James.  Looks pretty cool so far.

Offline

 

#11 10-01-2004 14:17:33

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19876
Website

Re: Wysiwyg Editor For Administration Area

I just checked out Vinh's demo and it's cool.  We've got an OK to include this as a module for IE users in CCP6 smile


Nick Hendler

Offline

 

#12 10-01-2004 21:10:04

Quizno
Member
Registered: 06-02-2003
Posts: 447

Re: Wysiwyg Editor For Administration Area

Okay, so I'm blind.  Looks like it will be a nice touch.

Offline

 

#13 10-02-2004 01:47:47

PreZ
Member
From: New York, NY, USA
Registered: 09-28-2004
Posts: 56
Website

Re: Wysiwyg Editor For Administration Area

I don't know if you've seen it, but Interchange has a version that works with more browsers - at least, it works with firefox/mozilla (which is what I use) as well as IE.

Interchange is open source, so you can download the source code for it (from wwwicdevgroup.com) and check out how they do it.  Interchange is nowhere near as good a CCP product wise, but when I was evaluating shopping cart systems, that struck me as quite a cool feature smile

PreZ smile


PreZ smile
Owner -
Founder -

I wanted to change the world, but God wouldn't give me the source code!

Offline

 

#14 10-02-2004 02:10:12

PreZ
Member
From: New York, NY, USA
Registered: 09-28-2004
Posts: 56
Website

Re: Wysiwyg Editor For Administration Area

As a follow up, by viewing source code, I found they're using an off the shelf (also FREE) tool smile



Its distributed under the BSD license, so it can be used in commercial products without a problem.  Version 3.0 (technically beta, but it looks good!) works on IE5.5+ (windows) as well as Mozilla/FireFox (on many different platforms, including Linux, MacOS, etc).

It even comes with an example HTML file to show you how its used - so if possible, it would be REAL cool if you could swap out whatever you're using and put in this instead (htmlarea even has more features, such as undo and redo!).

You can get 3.0-beta from their sourceforge site::

Thanks,

PreZ - Who is REALLY looking forward to WYSISYG product editing from his Linux/Mozilla system smile


PreZ smile
Owner -
Founder -

I wanted to change the world, but God wouldn't give me the source code!

Offline

 

#15 10-04-2004 09:39:53

superhero2000
Member
From: Harrisburg, PA
Registered: 03-26-2003
Posts: 1025
Website

Re: Wysiwyg Editor For Administration Area

Code:

It even comes with an example HTML file to show you how its used - so if possible, it would be REAL cool if you could swap out whatever you're using and put in this instead (htmlarea even has more features, such as undo and redo!).

The beta version is still not ready for release with this Mod.  There are numerous bugs that need to be addressed and the original developer has not gotten around since it's release to work on this.  However, my team will be working on this before it will be incoporated into the WYISWYG mod.   


Vinh
VQC Designs, LLC


Offline

 

#16 10-04-2004 11:38:05

PreZ
Member
From: New York, NY, USA
Registered: 09-28-2004
Posts: 56
Website

Re: Wysiwyg Editor For Administration Area

Then in advance, I thank you and your team smile

Wysisyg editing on Firefox (my primary browser, both on linux and windows) would be such a boon smile

If it takes too long to fix properly, and you need to release a version that uses the old one, can I ask if the code is at least easily deliniated (ie. in its own directory) so I could just rename that directory, and un-tar the one I download, and use it (even with the bugs) until your team fixes the buggy one?

Keep up the good work smile


PreZ smile
Owner -
Founder -

I wanted to change the world, but God wouldn't give me the source code!

Offline

 

#17 10-05-2004 04:22:49

Stephen
Member
Registered: 03-27-2004
Posts: 144

Re: Wysiwyg Editor For Administration Area

For those interested, please visit  for a demo of the WYSIWYG Mod.

I am using IE6 and cannot access the above site using the demo passwords and username. Is anyone else having the same problem please ?

Offline

 

#18 10-05-2004 04:51:46

AndyMacLean
Member
From: Lancashire, UK
Registered: 08-23-2004
Posts: 44
Website

Re: Wysiwyg Editor For Administration Area

I don't think it is anything to do with IE6.

I used this demo yesterday (4 Oct 04) without a problem, but today I get the same issue as you.

I can only guess that Vinh has revoked the demo login for the time being.

Either try again later or wait for Vinh to post a reply.

It looks great though. extremely useful.

Offline

 

#19 01-26-2005 20:27:33

cjcrhammer
Member
Registered: 12-06-2004
Posts: 1

Re: Wysiwyg Editor For Administration Area

Something that was missing from this thread was the information to install this mod.  I'm including this to help someone after spending two days trying to get it working with success.

1.  Add to this script between <head></head> under /ccp51/data/elements/ in the file adm_layout.txt

  <script language="Javascript1.2"><!-- // load htmlarea
_editor_url = "";                     // URL to htmlarea files
var win_ie_ver = parseFloat(navigator.appVersion.split("MSIE")[1]);
if (navigator.userAgent.indexOf('Mac')        >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Windows CE') >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Opera')      >= 0) { win_ie_ver = 0; }
if (win_ie_ver >= 5.5) {
document.write('<scr' + 'ipt src="' +_editor_url+ 'editor.js"');
document.write(' language="Javascript1.2"></scr' + 'ipt>'); 
} else { document.write('<scr'+'ipt>function editor_generate() { return false; }</scr'+'ipt>'); }
// --></script>

2. In the file /cgi-bin/library/adm_tables.pl  add the folloing script prior to <textarea cols="60".

<script language="JavaScript1.2" defer>
editor_generate('$field_name');
</script>

3.  make sure that the script in step 1 points to the area you downloaded the htmlarea program.

Offline

 

#20 01-31-2005 23:54:20

Charles
Member
From: USA
Registered: 12-24-2002
Posts: 252

Re: Wysiwyg Editor For Administration Area

This is cool.  I can't wait to see it in Zuma. 
What about how in forums you can use the different code buttons, you can use the same thing and it will work in more browsers.  Like when you post here.   You will have most of the things like Bold, Italics, Underline, Font, Size, Color, Http tag, img tag, etc!! 


Charles

Offline

 

#21 02-13-2005 03:45:52

Steven
Member
Registered: 04-21-2004
Posts: 84

Re: Wysiwyg Editor For Administration Area

Is this mod available for ccp51 yet? .. I've emailed the author but no response.

Regards

Steven

Offline

 

#22 05-30-2005 12:57:46

tonin
Member
From: Orlando, FL
Registered: 03-17-2005
Posts: 42
Website

Re: Wysiwyg Editor For Administration Area

Please let us know when available.  I have a client that would be GREATLY interested in this one.


Toni Novak

Offline

 

#23 07-23-2005 18:19:01

Blitzen
Member
From: USA
Registered: 01-01-2005
Posts: 936

Re: Wysiwyg Editor For Administration Area


I see only Reports menu option. Grrrrr....

Offline

 

#24 07-28-2005 23:08:42

superhero2000
Member
From: Harrisburg, PA
Registered: 03-26-2003
Posts: 1025
Website

Re: Wysiwyg Editor For Administration Area

It is available.  Contact us for more information.


Vinh
VQC Designs, LLC


Offline

 

#25 07-29-2005 08:14:03

Blitzen
Member
From: USA
Registered: 01-01-2005
Posts: 936

Re: Wysiwyg Editor For Administration Area

  Windows XP, IE6
I see only Reports menu option. Grrrrr.... 

Offline

 

Board footer