Announcement

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

#151 Re: User Discussion & Help » Advenced Image Manager is very slow to load » 2007-06-18 19:21:16

ray

I've just applied a tweak to ExtendedFileManager that addresses this issue. see http://xinha.python-hosting.com/ticket/1036

Do you this is already an improvement?

#152 Re: User Discussion & Help » Image Uploading » 2007-06-15 10:59:29

ray

I'll do that for you, no problem.

Please contact me via my website

#153 Re: User Discussion & Help » Help me write a plugin » 2007-06-15 10:35:37

ray

Just leave the else part away, as you only get there when HAVE the element and then you set it NULL again

#154 Re: User Discussion & Help » Spanish characters doesnt show!! » 2007-06-13 04:11:40

ray

HtmlEntities (it is included in the Xinha package) is a remedy when you are NOT using UTF-8. It should really be no problem at all when you use UTF-8, that's what it's for, isn't it? smile

Please make shure
1. you use the same charset in both the page where the editor is embedded AND where the  text is displayed
2. Your server may be configured to send chareset headers which may be different than UTF-8 (AddDefaultCharset directive in Apache)

#155 Re: User Discussion & Help » Safari compatibility » 2007-06-12 14:52:36

ray

Unfortunately it is more than buggy. It just doesn't work. And differently on different computers. shit sad

#156 Re: User Discussion & Help » Safari compatibility » 2007-06-12 14:40:28

ray

Stunning! Safari 2 was missing some vital js stuff (e.g. selection handling if I recall right). may they have improved this. Safari support would be real hot smile

#157 Re: User Discussion & Help » Setting Focus on the Text Area » 2007-06-12 12:52:04

ray

It's impossible to activate the editor in any other way than clicking in the iframe

#158 Re: User Discussion & Help » Apostrophes » 2007-05-21 10:51:24

ray

Unless you want to change all your content to UTF-8, you might want to try the HtmlEntities plugin

#159 Re: User Discussion & Help » issue with IE7 after upgrading to V0.93 » 2007-05-16 15:20:17

ray

That's a bug. I filed an update under  version 0.931 on the download page. You can fix this bug by replacing the file plugins/Stylist/stylist.js with the one from this archive.

#160 Re: User Discussion & Help » Analysing words as you type » 2007-05-14 10:55:21

ray
joomlien wrote:

Is there a full code version available?

Of course there are. Best is you install a subversion client (e.g. http://tortoise.tigris.org ) and checkout the svn repository at http://svn.xinha.python-hosting.com/trunk/

joomlien wrote:

I guess it would be a blend of principles that are in the SpellChecker, SmartReplace and ContextMenu.

Yes, that's how I imagined it.

joomlien wrote:

Let me know if you want a hand.

Well, I don't even know when I will have the time to do it

When you have any questions (and you will smile ), I will be glad to help you, e.g. at #xinha.

#164 Re: User Discussion & Help » Analysing words as you type » 2007-05-13 04:45:33

ray

Look at plugin SmartReplace, which does just this.

joomlien wrote:

When options are available for a word, this word would automatically get underlined.

You could wrap it in a span with some class

joomlien wrote:

By clicking on the word a context menu would appear with all the suggestions.

The ContextMenu plugin could be extended to to have a kind of API for other plugins.

joomlien wrote:

if you think that this is something that would be easy/difficult to develop.

Surely some JS skills and work involved. Just try it out smile

joomlien wrote:

A possible example would be like a spellchecker

Incidently im planning on a Spellchecker plugin that works just like this smile

#165 Re: User Discussion & Help » javascript error: method not allowed » 2007-05-10 20:51:08

ray

There seem to be severe problems with your server configuration. The "Method not allowed" error refers to the POST method by which scan.php, which is used by the Linker plugin, is called. This is IMHO unrelated to the buttons not showing. These are "simply" not delivered by your server. I have no idea why, but your server plays foul sad

#166 Re: User Discussion & Help » Method Not Allowed on Hyperlink Functionality (Scan.php) » 2007-05-10 20:46:45

ray

The Linker plugin requires PHP. simple_example.html works because it doesn't load the Linker

#169 Re: User Discussion & Help » gzip compressor » 2007-05-03 19:20:06

ray

Something like this is not available at the moment (or even possible without some rather large changes to the way the required files are loaded by Xinha).

But this is a thing we should definitely implement, the effects are really marvellous.

If you are running Apache with mod_deflate loaded you can try to put a .htaccess file in you Xinha folder containing

<FilesMatch "\.(js|html?|php|css)$">
SetOutputFilter DEFLATE
</FilesMatch>

or otherwise if you don't have mod_deflate, but PHP as Apache module (not CGI)

AddHandler application/x-httpd-php .js
php_flag zlib.output_compression On

#170 Re: User Discussion & Help » Acessing the Xinha Iframe » 2007-05-03 18:22:09

ray

1. You cannot use the dot syntax to access object properties by a variable; instead use the following syntax

xinha_editors[editorID]

2. You should not use getHTML()/setHTML directly, but rather

xinha_editors.yourEditor.setHTML(xinha_editors.yourEditor.inwardHtml(html))
xinha_editors.yourEditor.outwardHtml(xinha_editors.yourEditor.getHTML())

or as of realease 0.93, for convenience

var html = xinha_editors.yourEditor.getEditorContent();
xinha_editors.yourEditor.setEditorContent(html);

(this is the same as above, integrated in one function)

3. Why on earth do you want to escape the content??

#172 Re: User Discussion & Help » How much characters it can process Xinha? » 2007-05-01 19:16:33

ray

theoretically there is no limit, but at some you will notice that it takes really long to get the HTML (when saving/switching modes)

#173 Re: User Discussion & Help » #xinha IRC channel » 2007-04-28 14:10:44

ray

I'm in this channel now on a regular basis, and I would like to invite everyone to join and have a chat!

#174 Re: User Discussion & Help » simple source code question » 2007-04-24 12:11:44

ray

No, the editor itself is pure JavaScript that is executed inside the browser (Mozilla/IE). But there are some plugins that use PHP to do things on the server

Board footer

Powered by FluxBB