Announcement

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

#326 Re: User Discussion & Help » How can I write a new plug-in for Xinha by myself? » 2009-11-17 00:25:19

Look at InsertSmiley plugin in the latest svn trunk version of Xinha, it is a good example of how to make a plugin I think :-)

#327 Re: User Discussion & Help » Extended File Manager removing trash icon from thumbnails view » 2009-11-15 19:53:08

allow_delete has been added to ExtendedFileManager today, checkout the latest trunk.

http://trac.xinha.org/ticket/1205

#329 Re: User Discussion & Help » Image/File Manager file lists » 2009-11-11 10:27:37

Make sure you look at the latest trunk (SVN) for both those suggestions.

#330 Re: User Discussion & Help » Image/File Manager file lists » 2009-11-11 10:27:10

Yes, more or less.

In the latest trunk, examine the ImageManager plugin, you will see it handling YouTube and Flickr, look at how it handles YouTube for example.

Alternatively, you could just create a simpler plugin.  Look at how the current InsertSmiley plugin works, it's very very simple for a plugin which inserts images.

#331 Re: User Discussion & Help » i have problem's by edit of the toolbar! » 2009-11-10 21:20:05

You are correct, my_config.js

  //this is the standard toolbar, feel free to remove buttons as you like
  xinha_config.toolbar =
  [
    ["popupeditor"],
    ["separator","formatblock","fontname","fontsize","bold","italic","underline","strikethrough"],
    ["separator","forecolor","hilitecolor","textindicator"],
    ["separator","subscript","superscript"],
    ["linebreak","separator","justifyleft","justifycenter","justifyright","justifyfull"],
    ["separator","insertorderedlist","insertunorderedlist","outdent","indent"],
    ["separator","inserthorizontalrule","createlink","insertimage","inserttable"],
    ["linebreak","separator","undo","redo","selectall","print"], (Xinha.is_gecko ? [] : ["cut","copy","paste","overwrite","saveas"]),
    ["separator","killword","clearfonts","removeformat","toggleborders","splitblock","lefttoright", "righttoleft"],
    ["separator","htmlmode","showhelp","about"]
  ];

#332 Re: User Discussion & Help » Converting css plug-in to font-size plug-in » 2009-11-10 09:51:52

Can you not just use the ordinary font size selector?

#333 Re: User Discussion & Help » Extended File Manager resize not working » 2009-11-10 09:50:44

You would need to see what, if any, errors are being printed to the javascript console.

At a rough guess,
  1. try in the current trunk version of xinha
  2. check permissions for where the images would be written to
  3. check that your backend_url etc settings are correct

For just inserting images, I'd personally use ImageManager, not ExtendedFileManager, ImageManager is probably better tested (in my opinion).

#335 Re: User Discussion & Help » Alert before close browser (onBeforeUnload) » 2009-11-10 09:46:25

I wouldn't have thought Xinha would mess with an onunload event.  That said.  I vaguely recall that onunload when actually closing a window doesn't work.

Maybe that's old knowledge though.

#336 Re: User Discussion & Help » "CSSPicker" Plugin » 2009-11-10 09:41:54

@thinice If you'd like it included in Xinha's distribution, you can create a ticket, attach a zip, and let me know to james@gogo.co.nz

#337 Re: User Discussion & Help » Future of xinha » 2009-11-10 09:37:41

Xinha development is always a bit spasmodic, because it's written by people who "have an itch to scratch". 

That is, we use it in our "day jobs" and when something doesn't work, we decide "oh I should probably fix that".

The lack of development of Xinha, in my opinion, is testament to the fact that it quite simply "does the job it's made for" most of the time.

Fellow developers are always welcome to join the effort if you've got a similar itch to scratch.

#338 Re: User Discussion & Help » Cross-Browser Support » 2009-11-10 09:32:16

IE 6+ (but 6 not really supported any more)
FF, umm, 1.2 something + from before it was Firefox anyway.
Safari, umm, unknown, maybe it works
Opera, 9.something +
Chrome, none (to my knowledge)

#339 Re: User Discussion & Help » ExtendedFileManager to handle different users directories » 2009-11-10 09:30:52

This goes in where you have your xinha_config (of course, you need to have PHP run over it)...

  with (xinha_config.ImageManager)
  {
    <?php
      require_once('/path/to/xinha/contrib/php-xinha.php');
      xinha_pass_to_php_backend
      (       
        array
        (
         'images_dir' => '/home/your/directory',
         'images_url' => '/directory'
        )
      )
    ?>
  }

Similar for ExtendedFileManager.

#340 Re: User Discussion & Help » Text color selector panel vertically unaligned » 2009-11-10 09:27:56

Standards or quirks mode?

You'll need to provide with a link to a testcase.

Make sure you use the latest trunk version.

#341 Re: User Discussion & Help » Drag and drop clumping » 2009-11-10 09:27:04

You would need to write a plugin to detect such changes and, if it's possible at all, use the methods like getAllAncestors() to determine where you should insert nodes.

In short.  Hard.

#342 Re: User Discussion & Help » Option to not clone <p> id attribute when splitting paragraph in two? » 2009-11-10 09:24:38

It should never be cloned, no.  Submit a bug (although, it may be tricky to fix, this sounds like "browser behaviour").

#343 Re: User Discussion & Help » Xinha integration with Java / Rich Faces and ajax4jsf » 2009-11-10 09:22:26

This is beyond our sphere of influence I think, your problem is likely solvable, but with programming written by you to suit the specific way in which you're using Xinha.

In short, you'll need to re-initialize after scrubbing it (or better, don't scrub it at all, just move it out the way somewhere and put it back later).

Beware memory leaks when doing that though.

#344 Re: User Discussion & Help » General question: Image uploader » 2009-11-10 09:18:42

Pioden, have a look at...

Mootools File Manager
http://cpojer.net/Scripts/FileManager/Demos/

And Ajax Image Editor
http://www.ajax-image-editor.com/

I would love to see these two combined into a single replacement for ImageManager/ExtendedFileManager, I've mentioned it in a couple of tickets recently if you search them out.

#345 Re: User Discussion & Help » Colorpick problems » 2009-11-10 09:14:52

You should probably use the trunk if you will be using IE8.

#346 Re: User Discussion & Help » problem with caption under pictures » 2009-11-10 09:12:32

This is not a problem with Xinha.  You need to learn about html some more, you must float one or both of the elements.

#347 Re: User Discussion & Help » Xinha filenames » 2009-11-10 09:10:39

Not fixable.  Your server is munted.  Get a better host.

#348 Re: User Discussion & Help » Installation problems » 2009-07-30 09:12:36

Use Firebug to view the network, you will see the 404.

#349 Re: User Discussion & Help » Php embedded inside php problem » 2009-04-02 18:49:03

I'd work around the issue by using chr(60) for < and chr(62) for >

<?php
$string = chr(60)."?php
echo \"test\";
?".chr(62);

eval (" ?".chr(62).$string.chr(60)."?php ");
?>

#350 Re: User Discussion & Help » controlling the editor output div vs p etc » 2009-04-02 18:45:08

I believe this is browser behaviour.  Try in different browsers and see if you get the same results.

Board footer

Powered by FluxBB