1 of 3
1
Call for Beta Testers—Xinha WYSIWYG Editor Extension Beta Release
Posted: 30 January 2006 10:53 PM   [ Ignore ]  
Research Assistant
RankRankRank
Total Posts:  754
Joined  05-15-2004

Attached are the files for the beta extension for using the excellent Xinha wysiwyg editor with EE. Xinha is a descendant of the HTMLarea wysiwyg editor. It would be cool if some people could see if the extension installs and works correctly on their systems. Please see the included READ ME file for installation instructions.

Update: I just noticed that the Xinha download page is unavailable due to having exceeded its bandwidth limit. Perhaps this is due to the popularity of the editor. In the meantime, I’ve made the Xinha editor files available for download on my site.

Update 2: The Xinha download page is back up.

Update 3: Version 0.0.3 is now available, farther down in this thread.

File Attachments
Xinha Extension for EE, v0.0.1, Beta Release.zip  (File Size: 5KB - Downloads: 409)
 Signature 

http://www.FlavorZoom.com

Profile
 
 
Posted: 31 January 2006 03:45 AM   [ Ignore ]   [ # 1 ]  
Research Assistant
RankRankRank
Total Posts:  754
Joined  05-15-2004

Update—in the read me file, I ask beta testers for thoughts on how to set path variables for the ImageManager plugin that comes with Xinha. I’ve now gotten that question answered by someone on the Xinha discussion board.

Here’s an example. If your images are located at /exp/images/uploads, then the variables for that plugin would be set like this:

$IMConfig['images_dir'] = "../../../../exp/images/uploads";
$IMConfig['images_url'] = str_replace( "backend.php", "", $_SERVER["PHP_SELF"] ) . "../../../../exp/images/uploads";

 Signature 

http://www.FlavorZoom.com

Profile
 
 
Posted: 31 January 2006 08:56 AM   [ Ignore ]   [ # 2 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23485
Joined  05-20-2002

Hey Vik- looks cool.  I’ve downloaded it, and when I get the chance I’ll see how it works on my test install.  Which I seriously need to get around to updating first!

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 31 January 2006 12:23 PM   [ Ignore ]   [ # 3 ]  
Research Assistant
RankRankRank
Total Posts:  754
Joined  05-15-2004

Great. Thanks Rob1!

I used it for all my posts yesterday, and it worked very well. HTMLarea, which Xinha is built on, has been around for quite a while. It has a lot of plugins and cool features. It seems to load quickly too.

Update: I’m continuing to use it, and it’s working very well.

 Signature 

http://www.FlavorZoom.com

Profile
 
 
Posted: 31 January 2006 12:32 PM   [ Ignore ]   [ # 4 ]  
Research Assistant
RankRankRank
Total Posts:  754
Joined  05-15-2004

I just noticed that the Xinha download page is unavailable due to having exceeded its bandwidth limit. Perhaps this is due to the popularity of the editor. In the meantime, I’ve made the Xinha editor files available for download on my site.

Update: The Xinha download page is back up.

 Signature 

http://www.FlavorZoom.com

Profile
 
 
Posted: 02 February 2006 01:34 AM   [ Ignore ]   [ # 5 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  369
Joined  12-31-2004

Vik,

As you’re working with this I though I would mention the Open Realty project.

This is a suite of xxMP tools for online realtors with it’s own cms integration templates - ie it can be installed on the same site as EE and integrated into the EE templating system to create an integrated look and feel between two otherwise separate applications (useful for anyone with realty clients).

O_R allows users to upload Xinha (and FCKEditor) and then select which to use (each has its own merits and de-merits) at different times, through a pick-list in the O_R Control Panel, in much the same way you are trying to achieve here.

I will give the beta a shot today and report back.

Well done.

Jules

 Signature 

There are more things in heaven and earth, Horatio, than are dreamt of in your philosophy - William Shakespeare

Profile
 
 
Posted: 02 February 2006 03:27 AM   [ Ignore ]   [ # 6 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  369
Joined  12-31-2004

The ReadMe says…

...placing it in the “exp” directory

.

This folder does not exist on the default installation.

Should the user create /exp/?

Should the user create /exp/ at the site root, in “/system/” or at another location?

My immediate comment is that the ReadMe could articulate this more precisely.

Jules

 Signature 

There are more things in heaven and earth, Horatio, than are dreamt of in your philosophy - William Shakespeare

Profile
 
 
Posted: 02 February 2006 06:23 AM   [ Ignore ]   [ # 7 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12273
Joined  04-29-2002

Jules - the exp directory is whatever directory you have your index.php and path.php file in. In many cases, this is the site root. In other cases, it may be a directory called exp. Or foo, or whatever you call it.

http://www.yourEEblog.com/exp/images/my_images/

- this was later on in the readme. That’s the only reason I knew what exp was supposed to mean.

But yes, the docs need to be clarified.

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 02 February 2006 07:03 AM   [ Ignore ]   [ # 8 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  369
Joined  12-31-2004
Sue Crocker - 02 February 2006 06:23 AM

Jules - the exp directory is whatever directory you have your index.php and path.php file in. In many cases, this is the site root. In other cases, it may be a directory called exp. Or foo, or whatever you call it.

http://www.yourEEblog.com/exp/images/my_images/

- this was later on in the readme. That’s the only reason I knew what exp was supposed to mean.

But yes, the docs need to be clarified.

Sue Crocker - 02 February 2006 06:23 AM

Jules - the exp directory is whatever directory you have your index.php and path.php file in. In many cases, this is the site root. In other cases, it may be a directory called exp. Or foo, or whatever you call it.

http://www.yourEEblog.com/exp/images/my_images/

- this was later on in the readme. That’s the only reason I knew what exp was supposed to mean.

But yes, the docs need to be clarified.

red face

Thanks Sue/Jules

 Signature 

There are more things in heaven and earth, Horatio, than are dreamt of in your philosophy - William Shakespeare

Profile
 
 
Posted: 02 February 2006 09:30 AM   [ Ignore ]   [ # 9 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  369
Joined  12-31-2004

Okay.

I downloaded the software, extension files and the readme.

I uploaded the xinha directory to my site root (same as index.php & path.php); thanks Sue.

I uploaded the prefs_ file to the same root folder as the /xinha/ directory.

I uploaded the extension.php file to /sys/extensions

I opened the prefs_ file and replaced the two path statements with;

_editor_url = “/home/pmhxxxx/public_html/xinha/”

and;

<script type=“text/javascript” src=”/home/pmhxxxx/public_html/xinha/htmlarea.js”></script>

I can see the extension is loaded by it is disabled, and grey’d-out, so there’s nothing I can do with it.

What else can a poor-boy do?

Jules

 Signature 

There are more things in heaven and earth, Horatio, than are dreamt of in your philosophy - William Shakespeare

Profile
 
 
Posted: 02 February 2006 10:47 AM   [ Ignore ]   [ # 10 ]  
Research Assistant
RankRankRank
Total Posts:  754
Joined  05-15-2004

It was over a year ago that I first installed EE, and I forgot that exp is not a directory that is part of the standard installation. I’ll update the extension and upload it here. Thanks for this good beta testing report.

 Signature 

http://www.FlavorZoom.com

Profile
 
 
Posted: 02 February 2006 12:35 PM   [ Ignore ]   [ # 11 ]  
Research Assistant
RankRankRank
Total Posts:  754
Joined  05-15-2004

Sue or Rob1, could you give me some advice on this? I need to set some paths for the extension to use, based on the individual user’s EE installation. I could ask the user to enter path info in the settings for the extension, but it would be more elegant if the extension could figure it out for itself.  The paths I need to set are shown here, with contents that work on my EE installation, which is inside the folder “http://www.bigpicweblog.com/exp/”:

_editor_url  = "/exp/xinha/"

<!-- Load up the actual editor core -->
<
script type="text/javascript" src="/exp/xinha/htmlarea.js">

<!--
Load user preferences -->
<
script type="text/javascript" src="/exp/xinha_prefs.js">

I have a feeling there may be a way to determine the paths via PHP with $_SERVER[‘PHP_SELF’], the explode function, etc., but without a Zend installation here it could take me hours of trial and error to educate myself on the right way to do this—whereas you may have done the identical thing many times before.

Thanks very much in advance for any info.

 Signature 

http://www.FlavorZoom.com

Profile
 
 
Posted: 02 February 2006 01:17 PM   [ Ignore ]   [ # 12 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23485
Joined  05-20-2002

I’d take a look at how Paul did it for the Tinymce extension- looks like he used a user entered setting:

<script type="text/javascript" src="'.trim($this->settings['script_url']).'"></script>

That way they put the xinha folder wherever they want- and enter it as a setting for the extension.  Seems like the easiest way- cause then you can just copy from Paul.  Otherwise, specify how the structure must be and use a path variable.

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 03 February 2006 10:55 PM   [ Ignore ]   [ # 13 ]  
Research Assistant
RankRankRank
Total Posts:  754
Joined  05-15-2004

Okay, I’ve got a version working here, using a path that the user can enter in the settings file. (BTW, the settings capabilities of the Extensions architecture in EE are very cool).

I’ve got a question about the version updating mechanism, which I’ve posted in the Tech Support section. Once I get that taken care of, I’ll post a new version of the extension here.

 Signature 

http://www.FlavorZoom.com

Profile
 
 
Posted: 06 February 2006 01:23 PM   [ Ignore ]   [ # 14 ]  
Research Assistant
RankRankRank
Total Posts:  754
Joined  05-15-2004

The new version of the Xinha extension is ready for beta-testing. It’s attached. It lets you enter the path to Xinha in the settings for the extension. Xinha can be located anywhere on your server.

I’ve been using Xinha for a week on my system, and I like it a lot. Some cool features:

- Loads quickly.
- Has lots of plugins.
- Has Find and Replace.
- If necessary, can edit raw html right in the main edit window, rather than in a pop-up window.
- HTML Tidy plugin does some helpful clean-up.

I look forward to beta testing reports so as to get this finalized and available to all EE users.

File Attachments
Xinha_Extension_for_EE_v003.zip  (File Size: 6KB - Downloads: 358)
 Signature 

http://www.FlavorZoom.com

Profile
 
 
Posted: 11 February 2006 06:00 PM   [ Ignore ]   [ # 15 ]  
Research Assistant
RankRankRank
Total Posts:  754
Joined  05-15-2004

I see 11 potential beta testers have downloaded the latest version so far. Have you had a chance to install it yet? If so, please post your feedback here.

 Signature 

http://www.FlavorZoom.com

Profile
 
 
Posted: 12 February 2006 01:19 AM   [ Ignore ]   [ # 16 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1401
Joined  01-15-2005

NO!  red face Busy busy busy!

 Signature 

EE Duration Tags | {view_count_total}

Profile
 
 
Posted: 12 February 2006 11:55 AM   [ Ignore ]   [ # 17 ]  
Grad Student
Rank
Total Posts:  92
Joined  11-08-2005

it says

Copy the included extension file “ext.xinha.php” to your ExpressionEngine extensions folder, located in your system folder.


I dont have a folder called extensions (1.3.2). Any ideas?

Profile
 
 
Posted: 12 February 2006 12:06 PM   [ Ignore ]   [ # 18 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1401
Joined  01-15-2005

Extensions were added with the EE 1.4 release. You need to upgrade.

 Signature 

EE Duration Tags | {view_count_total}

Profile
 
 
   
1 of 3
1
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64532 Total Logged-in Users: 31
Total Topics: 81108 Total Anonymous Users: 17
Total Replies: 436423 Total Guests: 204
Total Posts: 517531    
Members ( View Memberlist )