Zen Cart Logo
Forums / All Other Contributions/Addons / Xinha for zencart

Xinha for zencart

Locked

Views: 5,822

Results 1 to 20 of 33
This thread is locked. New replies are disabled.
16 Nov 2007, 8:37 PM
#1
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Xinha for zencart

I have completed an integration of xinha - (x -it's not html area) for the cart admin and will upload it shortly. I have one question to throw out to anyone who knows more than I. plugins for the WYSIWYG editors area are a hit or miss thing. Does anyone have an idea why this is so? It does not have anything to do with the language file. I'm going to wait awhile to upload in case someone gives me an answer.

17 Nov 2007, 3:04 AM
#2
bettysue avatar

bettysue

Inactive

Join Date:
May 2004
Posts:
747
Plugin Contributions:
0

Re: Xinha for zencart

I'll be the first...if I may ask...what is xinha?

thank you,

betty

17 Nov 2007, 12:25 PM
#3
titangen avatar

titangen

Zen Follower

Join Date:
May 2005
Location:
Brussels belgium
Posts:
177
Plugin Contributions:
0

Re: Xinha for zencart

just go here http://xinha.webfactional.com/

:cool:

17 Nov 2007, 4:09 PM
#4
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Xinha for zencart

Thank you, titangen!

Xinha is an alternative html WYSIWYG editor. The advantage to Xinha is that it works in Mozilla based browsers. The version that I am going to put up also allows uploading images so that the user doesn't have to ftp extra images to put them into the product descriptions, define pages or ez pages, etc.

There's another plugin that allows the uploading of pdfs and other files. I frequently have to assist my customers in putting up pdfs and linking to them so it's a great addition. However, it's the one plugin that I can't get to work right now. That's why I was hoping some great zen guru would know more than I so that I can get this to work before I upload it.

But with no answers, I'm going to go ahead and package this up as is. If anyone wants to help, please speak up and I'll be glad to work on it further and upload a new version.

I'll post the url for the download page when it gets up.

20 Nov 2007, 11:19 AM
#6
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: Xinha for zencart

Very impressed and love the fact that the image aspects work with no fuss - but there seems to be a problem in the Newsletter section in that the html is not being saved. Any ideas?

20 Nov 2007, 11:44 AM
#7
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: Xinha for zencart

And a small error in the package you've put together... admin/includes/languages/english/extra definitions should be extra_definitions

20 Nov 2007, 2:06 PM
#8
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Xinha for zencart

thanks for the comments - but I don't know why the newsletter wouldn't save. It shouldn't be any different than other text areas. I never did figure out how the editors know which textareas to work in.

I did have someone at Xinha give me some more code that may correct that so I'll work on that today and correct that directory boo-boo when I upload.

23 Nov 2007, 9:32 AM
#9
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: Xinha for zencart

Doesn't save in define_pages_editor either. :(

25 Nov 2007, 11:46 AM
#10
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Xinha for zencart

Well, coupon admin doesn't work either. Since I'm no javascript expert, I'm really having difficulties with this! I may just have to package this up with warnings.

If anybody out there knows more javascript than I and would like to help, please speak up.

I definitely don't have it all correct as the config file inclusion isn't working at all.

Shall keep at it.

25 Nov 2007, 5:28 PM
#11
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Xinha for zencart

well, fixed everything except the ezpages and I don't see why it's not working but neither is htmlarea on my computer right now. So I'll put it aside for the moment. I don't want to upload this without every file fixed so if you want the updates files, just message me.

2 Dec 2007, 5:54 PM
#12
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Xinha for zencart

I believe it's all fixed for 1.37 and 1.38 now. Ryk, you want to be my guinea pig for 1.37? I don't want to upload another mod until it's been tested by someone else

2 Dec 2007, 6:14 PM
#13
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: Xinha for zencart

Be pleased to - you can email me the files to rickATglobalteamDOTcoDOTuk

3 Dec 2007, 9:49 AM
#14
jensderknipser avatar

jensderknipser

New Zenner

Join Date:
Mar 2006
Location:
munich
Posts:
34
Plugin Contributions:
0

Re: Xinha for zencart

Hi Delia and Ryk,
it would love to use Xinha, as at the first view it is probably the best editor in town. Even the Imagemanager is a very useful enhancement. As my php/sql-skills are too low I only can follow to what you both will find out. I'll love to use it ;)

Thanks and good luck, jens

3 Dec 2007, 3:13 PM
#15
qdixon avatar

qdixon

Support Team

Join Date:
Feb 2004
Location:
Simcoe, Ontario, Canada
Posts:
1,906
Plugin Contributions:
1

Re: Xinha for zencart

As I applaud your work and effort, I must draw your attention to security.

You must implement some sort of security here as it is wide open for attack. Be sure to rewrite your code and use sanitation, proper permissions and lose unused code and files.

The reason I say this is because a file upload w/ edit functionality is typically very unsecure. It is the largest hole that can be compromised on a site with hackers uploading rogue files and redirect scripts.

If there are any takers in helping delia with this, please do.

25 Mar 2008, 9:58 PM
#16
andy1234 avatar

andy1234

Zen Follower

Join Date:
Oct 2006
Posts:
148
Plugin Contributions:
0

Re: Xinha for zencart

Hi All,

I have been playing with Xinha for a while after having some troubles with FCk editor uploader. It looks promising, but does not save any files - I tried EZ-pages and the defined pages.

Are there any settings I am missing?

25 Mar 2008, 9:59 PM
#17
andy1234 avatar

andy1234

Zen Follower

Join Date:
Oct 2006
Posts:
148
Plugin Contributions:
0

Re: Xinha for zencart

Hi Delia,

I have noticed that you have some updates and fixes. Could you please send me those?

Thanks

Andy

25 Mar 2008, 10:06 PM
#18
andy1234 avatar

andy1234

Zen Follower

Join Date:
Oct 2006
Posts:
148
Plugin Contributions:
0

Re: Xinha for zencart

Also, i have noticed that when inserting images to product descriptions, they do not show up in the editor, because of the relative link to admin, i.e. it has a path like http://www.xxx.com/admin/images etc.

Where can we override the path settings?

25 Mar 2008, 10:09 PM
#19
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Xinha for zencart

Sorry, but this is not ready for prime time. I ran into several problems I couldn't solve - I simply don't know javascript well enough and no one at the xinha forums ever gave me enough info. I keep going back to this and making a little progress but right now things just don't work good enough to fully use.

25 Mar 2008, 10:21 PM
#20
andy1234 avatar

andy1234

Zen Follower

Join Date:
Oct 2006
Posts:
148
Plugin Contributions:
0

Re: Xinha for zencart

Feel free to contact me... maybe i could help as I am digging this code anyway. What are the exact problems?