Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 Re: User Discussion & Help » Xinha 2013 updates / PHP 5.4 updates » 2013-06-03 08:21:24

Well h.reindl, who has all of 4 posts, and who does not appear to have contributed anything of use towards Xinha, as you avoid the door hitting you, please also try not to stumble over the 50 websites I personally developed using the "dead" Xinha extensively in the backend in the last 12 months.

Of course, if you did want to contribute, instead of just complain about the lack of some pointless labelling of some arbitrary state of code as "a release", then, DEVELOPERS ARE ENCOURAGED TO CONTRIBUTE.

#2 Re: User Discussion & Help » Xinha 2013 updates / PHP 5.4 updates » 2013-05-23 01:25:48

@adam, @cynthia

For me, Xinha gets an update when I need to update something.  The short version is, it works, so I don't do much work on it.

I don't use the EFM or the IM, those are horrid systems to maintain and won't be doing any work on those myself ever (since I don't use them), the MFM (MootoolsFileManager) is superior in every way.

Xinha development has always been like this, because (as you know adam) a tool made by developers for developers, it progresses when somebody has an itch to scratch.

Adam, I think you already have access to the svn, and trac, from memory.  Cynthia if you would like subversion access, send me the initial code you want to commit for verification and I'll set you up access.

#3 Re: User Discussion & Help » Installed Xinha and TextArea now What? » 2012-06-28 21:45:46

That is a matter for your application.  Xinha is "just a WYSIWYG textarea", what you do with the form post is up to you.

#4 Re: User Discussion & Help » help: set Image absolute path on textarea » 2012-06-20 01:31:29

Is that error with the example?

Are you using mod_security on the server?

#5 Re: User Discussion & Help » help: set Image absolute path on textarea » 2012-06-18 10:15:03

You must first ensure that you can run the mootools-file-manager.php example, only when you have that working is it worth going any further.

And nobody can help you if you don't post what errors you get.

#6 Re: User Discussion & Help » help: set Image absolute path on textarea » 2012-06-18 05:32:58

For starters, use a recent Xinha or you are in for a world of hurt if you stick with such an old one.

Xinha Revision 961 is like 360 revisions old, the current trunk is revision 1325.
(I guess you are using the 0.96.1 release, which isn't quite so old, but you are better to use the trunk by far, 0.96.1 doesn't have IE9 fixes, has an old MFM etc...)

The current trunk can always be downloaded with the link on the bottom of this page: http://trac.xinha.org/browser/trunk

Your _editor_url should be absolute if at all possible, relative paths are always a PITA.

And finally, don't use ImageManager plugin (or ExtendedFileManager) at all, they are ancient and likely broken.

Use the MootoolsFileManager plugin instead, it can do both jobs, is modern, looks good, and works well, the current trunk includes a demo of the MootoolsFileManager in examples/mootools-file-manager.php which you can see the proper way to configure the plugin. 

All the configuration options for MootoolsFileManager can be read here... http://trac.xinha.org/browser/trunk/plu … ig.php#L84

NB: The plugin uses mootools of course, but it should be compatible with jquery running on the same page too even if the jQuery is not in compatible mode.

#7 Re: User Discussion & Help » Split Buttons Of Table Operations » 2012-06-12 04:09:39

They should enable only when you are focussed in a table cell (you have something that can be split).

#8 Re: User Discussion & Help » How to recognize textarea added with XMLHttpRequest? » 2012-06-12 04:08:36

See Xinha.makeEditors() and Xinha.startEditors() in the XinhaCore.js

Pretty straightforward, make your textarea, insert it into the DOM, ensure the name & id of it are the same, supply this id to makeEditors, supply the result of makeEditors to startEditors.

#9 Re: User Discussion & Help » Postback security issues when a table is inserted » 2012-05-21 05:36:47

Almost certainly this is caused by mod_security on your server.  Check in your server logs to find out what rule in mod_security is being triggered.

#10 Re: User Discussion & Help » [HELP] Edit _editor_url on my localhost » 2012-04-28 19:54:49

robz218 wrote:

i've tried edited _editor_url into _editor_url  = "/http://localhost/myproject/include/js/xinha/" but nothing happen sad

You have put an extra slash by mistake

"/http://

#11 Re: User Discussion & Help » Dynamic path to image directory for ExtendedFileManager » 2012-04-09 05:21:45

You must load plugins before. 

See newbie guide.

http://trac.xinha.org/wiki/NewbieGuide

You shoudl configure EFM in Step 3 of the script (of course you must make your config script parsed by PHP).

#12 Re: User Discussion & Help » Commercial Websites » 2012-04-09 05:18:42

You may use Xinha for anything you like, commercial included.

#13 Re: User Discussion & Help » ExtendedFileManager » 2012-04-09 05:17:13

Use absolute path.

Also check settings in main Xinha Config (Expand Relative URLs)

#15 Re: User Discussion & Help » Where is the ExtendedFileManager standalone version » 2012-03-29 21:24:41

You can find the file-picker.js in the Xinha distribution itself,

http://trac.xinha.org/browser/trunk/plu … -picker.js

it hasn't been used in a long while, so you'll probably need to fiddle about with it a bit.

#16 Re: User Discussion & Help » Bug Reporting Link Is Broken » 2012-03-29 21:21:27

TeslaDethray wrote:

The links to the bug reporting system are broken.
http://xinha.webfactional.com/wiki/Tickets

Where can I go to do this, or is it down now?

http://trac.xinha.org/wiki/Tickets

#17 Re: User Discussion & Help » Change ImageList link when window is closed? » 2012-03-29 21:20:37

Which image plugin are you referring to?  In any case, check the configuration settings for Xinha itself, specifically, stripBaseHref.

#18 Re: User Discussion & Help » What is the current Xinha release development status? » 2012-03-29 21:18:51

Patches Welcome! As the saying goes.

Xinha is now, and has always been, a tool driven by developers who have an itch to scratch, we use it in our own businesses, putting it to use in our own systems. 

The short version of this is, if it works for us, then our itch is scratched and that's the state it stays in, until we have a new itch (one of our clients asks for something to be added), or something stops working and so we have to fix it.

If you have an itch to scratch, please, go ahead and scratch it, then contribute it back for us all to benefit.

#20 Re: User Discussion & Help » Newbie Guide - Help! » 2012-01-22 19:50:26

Err, if you don't know what a textarea is, then I dont' think Xinha is something you want to be using!

This is a textarea!
<textarea></textarea>

See the examples in the Xinha distribution.

#21 Re: User Discussion & Help » Xinha modifies href and src » 2012-01-22 19:47:31

See the following configuration items...

  /** If true, relative URLs (../) will be made absolute. 
   *  When the editor is in different directory depth 
   *  as the edited page relative image sources will break the display of your images.
   *  this fixes an issue where Mozilla converts the urls of images and links that are on the same server 
   *  to relative ones (../) when dragging them around in the editor (Ticket #448)<br />
   *  Default: <code>true</code>
   *  @type Boolean
   */
  this.expandRelativeUrl = true;
  
 /**  We can strip the server part out of URL to make/leave them semi-absolute, reason for this
   *  is that the browsers will prefix  the server to any relative links to make them absolute, 
   *  which isn't what you want most the time.<br />
   *  Default: <code>true</code>
   *  @type Boolean
   */
  this.stripBaseHref = true;

#22 Re: User Discussion & Help » ist there still development on Xinha ? » 2012-01-22 19:45:02

Xinha does the job it sets out to do, when a new need arises then development would be done to meet that need.

In short, if somebody using Xinha needs a new feature, or a bug fixed, then they will do that.

New developers are always welcome.

#24 Re: User Discussion & Help » Howto intercept toolbar icon click? » 2011-11-27 18:57:23

Overriding the Xinha.prototype._clearFonts should work fine.

Xinha.prototype._clearFonts = function() { ... }

Of course, you must do this AFTER you load Xinha's file or it will be redefined to the default.

#25 Re: User Discussion & Help » Newbies - Show Hide two areas with include xinha » 2011-11-27 18:54:15

Unfortunately it is not possible,  you must have the Xinha displayed (visibility:hidden is OK) in order for it to work correctly when it is generated.

Once it is displayed, you can set display:none then, but initially, it mus be displayed.

You can of course delay generating the Xinha area until you display the textarea, you will have to write Javascript to do so.

Board footer

Powered by FluxBB