Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / All Other Contributions/Addons / Integrating Wyzz lightweight wysiwyg editor in place of htmlarea

Integrating Wyzz lightweight wysiwyg editor in place of htmlarea

Started by phil_ballard on 30 Oct 2010, 7:30 AM · Views: 2,610

Results 1 to 9 of 9
30 Oct 2010, 7:30 AM
#1
phil_ballard avatar

phil_ballard

New Zenner

Join Date:
Oct 2006
Posts:
8
Plugin Contributions:
1

Post #1 by phil_ballard

I am the auther of a lightweight, free wysiwyg editor called Wyzz. I wanted to integrate it with Zen Cart as htmlarea doesn't seem to play nice with some modern browsers and TinyMCE/FCKEditor were too big for my liking. In case it's of use to anybody else, I've made the integration instructions avaliable as a text file download at https://www.wyzz.info/wyzzforzen_page.html

The instructions refer to an installation on 1.3.8 but I guess it won't be much different on 1.3.9 - but I appreciate any feedback, bug reports etc.

30 Oct 2010, 8:29 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #2 by kobra

Submit to the free software addons area

Link above left

Zen-Venom Get Bitten

30 Oct 2010, 10:23 AM
#3
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Post #3 by kuroi

Firstly, I want to say that this is a nice looking and yes, lightweight editor, that packs a lot into a script that is small, even when not minified.

I've read your installation instructions and site. I agree that HTMLarea is dead in the water. The latest free version is dated 2002. Expect it to be dropped from future versions of Zen Cart.

I also agree that TinyMCE and CKEditor, are big lumps, compared to wyzz, though both very effective.

However, I disagree that they are "a headache to configure in the Zen code". I rather think that you're misunderstanding (or not noticing) the features built in to Zen Cart to load HTML editors. Both can be loaded with no need whatsoever to make changes to the core Zen Cart code. I recommend downloading the relevant integrations and taking a look at how they work.

By contrast the wyzz installation instructions lead users through a series of changes to core files. I really don't see why you think that this is easier than no changes at all :dontgetit

That said, I think that wyzz would be a great addition to the HTML editors available for Zen Cart.

There are a couple of limitations. Part of the lightweight trade-off appears to be no support for languages other than English, and no support for tables (for some stores product data is best displayed in tabular form) - but for many stores that's not problem.

Those limitations aside, the only obstacle to an unobtrusive integration with Zen Cart would be that wyzz is loaded by ID rather than tag / class.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

30 Oct 2010, 12:33 PM
#4
phil_ballard avatar

phil_ballard

New Zenner

Join Date:
Oct 2006
Posts:
8
Plugin Contributions:
1

Post #4 by phil_ballard

Thanks for the comments.

All quite true. Although I haven't yet had a look at the FCK install, though, is it not true that the core files already have hooks inserted for this package? i.e. not exactly an unobtrusive integration from scratch.

Tables were deliberately left out of Wyzz for size and simplicity reasons, but are well covered by the bigger editors.

30 Oct 2010, 12:37 PM
#5
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Post #5 by kuroi

I wouldn't spend time looking at the FCKEditor loading approach. That was a pain requiring hooks to be sprinkled through Zen Cart (and not in a pretty way). Expect them to disappear again in future releases.

FCKEditor's successor, CKEditor, is a much better model to review.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

30 Oct 2010, 2:14 PM
#6
phil_ballard avatar

phil_ballard

New Zenner

Join Date:
Oct 2006
Posts:
8
Plugin Contributions:
1

Post #6 by phil_ballard

OK will do. I can probably rewrite Wyzz to work on element name rather than ID, and I'll have a look at CK's approach

Thanks for the feedback, appreciated.

26 Dec 2010, 1:54 PM
#7
herbiej avatar

herbiej

New Zenner

Join Date:
Jul 2008
Posts:
14
Plugin Contributions:
0

Post #7 by herbiej

Hi guys,
First of all I apologise if I'm hijacking your thread, but I was reading it with interest as I am in the process of finding a suitable editor for my installation. I was using FCKeditor, but it went strange on me by refusing suddenly to load fully.

Anyhow, now I have upgraded to 1.3.9g, I found it doesn't work at all now, and HTMLarea seems very limited and seemed to be missing a button to browse and upload images to the server.

I took a look at CKeditor after trying the newest version of FCKeditor, which again didn't seem to work properly, and although it looked like I could get on with this editor, I found curiously enough that it too had no browse button to be able to choose an image and upload to the server. Can anyone give me some idea what could have gone wrong here and how do I fix it?

Thanks

26 Dec 2010, 2:30 PM
#8
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Post #8 by stevesh

None of the built-in HTML editors for Zencart (or many other programs) I'm aware of have a Browse function for inserting images. Must be a difficult thing to implement.

26 Dec 2010, 2:59 PM
#9
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Post #9 by kuroi

HerbieJ:

First of all I apologise if I'm hijacking your threadThis thread is neither about image uploading nor the two editors that you mention, so yes, taking it off into a new and unrelated area is thread hijacking.

But I'm puzzled as to why you would knowingly do this, since you clearly understand this, it's very easy to start a new thread for a new topic, and in any case, there are already threads in this forum that deal with the specific point about which you asked, for the specific editors that you mention.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)