Announcement

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

#451 Re: User Discussion & Help » xinha processing code » 2006-08-03 05:34:37

Well, those certainly shouldn't disappear UNLESS they are invalidly placed within the HTML.  If your HTML is not valid, or not well-formed then anybody's guess as to how the browser will construct a DOM from it.  An example of an invalid thing...

<table>
<a name="main"></a>
<tr>

Not saying thats what you're doing, but that would be a common cause.

#452 Re: User Discussion & Help » Image Manager missing images » 2006-08-03 04:03:54

I can't think of anything else.  Is there any relation between the ones that work?  What is the server environment?

#455 Re: User Discussion & Help » Area not replaced by Xinha control - followed newbie instructions. » 2006-08-03 01:52:14

I don't see anything obviously wrong there, but hard to see the trees for the forest, you should try simplfying things down to a test case.  However have you checked that there are no permissions issues to any of the files in Xinha?  A good way to tell is the LiveHeaders extention to Firefox, watch it as it loads Xinha and see if there are any problems loading the required files from the server.

#457 Re: User Discussion & Help » Area not replaced by Xinha control - followed newbie instructions. » 2006-07-31 08:38:53

I see, you put the code into my_confi.js, please post the contents of that.

#458 Re: User Discussion & Help » Area not replaced by Xinha control - followed newbie instructions. » 2006-07-31 08:36:44

I don't see you doing the initialization anywhere.  See the NewbieGuide http://xinha.python-hosting.com/wiki/NewbieGuide in particular item 2 under "Page Code"

#459 Re: User Discussion & Help » Fix for form.submit(); » 2006-07-30 23:35:46

brice: The repainting is a new one.  The slowdown might be if you are editing a large amount of HTML, try using the GetHtml plugin.

#460 Re: User Discussion & Help » xinha blanks post variables? » 2006-07-30 23:34:35

Can't help more unless we see your code.

#461 Re: User Discussion & Help » Area not replaced by Xinha control - followed newbie instructions. » 2006-07-28 22:36:16

Don't want to see your CF code, just the resultant HTML file please.

#462 Re: User Discussion & Help » Image Manager missing images » 2006-07-28 22:35:14

The folder where the images are,

1. is it writable by the web server
2. is there space on it

#465 Re: User Discussion & Help » Area not replaced by Xinha control - followed newbie instructions. » 2006-07-28 09:03:05

ymiles: you definatly should be putting the scripts in the head.  But as ray says, we can't help unless we can see the problem.  Xinha itself will work fine with Coldfusion because it has nothing to do with the server language at all, some plugins however (such as ImageManager) do require PHP (and others require PERL).

#466 Re: User Discussion & Help » xinha blanks post variables? » 2006-07-28 09:00:06

Xinha would not (should not) touch any of your other form elements.  Check that your HTML is well formed, and generally valid.  Make sure you are putting correctly entized data into your textarea, you cannot just put raw HTML into a textarea that would be invalid HTML.

#467 Re: User Discussion & Help » Image Manager missing images » 2006-07-28 08:57:18

GD is a graphics library which is built into PHP and which can be used to manipulate images.  ImageMagick is (set of) a command line tool which PHP can call to have it manipulate images.  IMHO ImageMagick is the better system.

You can configure this in plugins/ImageManager/config.inc.php search for "$IMConfig['IMAGE_CLASS']" you can set it to use GD (the default), ImageMagick, or NetPBM.

#468 Re: User Discussion & Help » Xinha and the Future of Rich Text Editing » 2006-07-28 08:53:18

Opera is very compliant in my general experience, right up there with Firefox, infact, better in many regards.  However the editing systems we (and every other WYSIWYG editor) use in Xinha are not part of any standard, each browser implements it in thier own only mildly similar ways. 

For Opera, I don't know if any of the competition has made thier stuff work with it yet.  It shouldn't take toooo much work to get it working in Opera, I've already demonstrated that in the Opera branch (you can check this out, it worked in one of the pre-release Opera's, I don't know if it still does), all be it with opera identifying as Mozilla.

#469 Re: User Discussion & Help » xinha and subdomains » 2006-07-26 23:35:37

What error is the server returning when it tries to get those?

And are you able to hit those files directly from the web browser?

#470 Re: User Discussion & Help » Image Manager missing images » 2006-07-26 23:34:55

Do you mean the thumbnails do not display in the ImageManager plugin?  If so, check permissions.  I'd also use ImageMagick instead of GD if you are using GD.

#471 Re: User Discussion & Help » Restricting editable sections » 2006-07-26 23:32:32

That would be complex to write, and in no way reliable.

#472 Re: User Discussion & Help » Xinha and the Future of Rich Text Editing » 2006-07-26 23:30:34

matte wrote:

I am using Opera 9 build 8502.  Your demo page doesn't work at all.  There has been a lot of dsicussion of Opera support for over a year, particularly by gogo, the lead developer.   Has it happened? Is there a working demo?

Not yet, feel free to contribute.

2)  Since this thread started discussing toolbars, let me also ask about what +can and cannot be done (the FAQs on the wiki are of little help).  Can I easily configure the toolbars to a small feature set most used can deal with, without being overwhelmed?  Is there a sample page with some configurations already setup?  This would be a big timesaver.

In Step 3 (see NewbieGuide in the wiki) you can control the toolbar.  Edit as you desire

  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"],
    ["separator","undo","redo","selectall","print"], (HTMLArea.is_gecko ? [] : ["cut","copy","paste","overwrite","saveas"]),
    ["separator","killword","clearfonts","removeformat","toggleborders","splitblock","lefttoright", "righttoleft"],
    ["separator","htmlmode","showhelp","about"]
  ];


   xinha_config.fontname = {
    "&mdash; font &mdash;":         '',
    "Arial":       'arial,helvetica,sans-serif',
    "Courier New":       'courier new,courier,monospace',
    "Georgia":       'georgia,times new roman,times,serif',
    "Tahoma":       'tahoma,arial,helvetica,sans-serif',
    "Times New Roman": 'times new roman,times,serif',
    "Verdana":       'verdana,arial,helvetica,sans-serif',
    "impact":       'impact',
    "WingDings":       'wingdings'
  };

   xinha_config.fontsize = {
    "&mdash; size &mdash;"  : "",
    "1 (8 pt)" : "1",
    "2 (10 pt)": "2",
    "3 (12 pt)": "3",
    "4 (14 pt)": "4",
    "5 (18 pt)": "5",
    "6 (24 pt)": "6",
    "7 (36 pt)": "7"
  };

   xinha_config.formatblock = {
    "&mdash; format &mdash;"  : "",
    "Heading 1": "h1",
    "Heading 2": "h2",
    "Heading 3": "h3",
    "Heading 4": "h4",
    "Heading 5": "h5",
    "Heading 6": "h6",
    "Normal"   : "p",
    "Address"  : "address",
    "Formatted": "pre"
  };

#473 Re: User Discussion & Help » xinha and subdomains » 2006-07-22 21:39:56

Get the LiveHeaders extention for Firefox and watch it as it loads Xinha most likely you'll find that there is some file it's not finding or has no permission to.

#474 Re: User Discussion & Help » Unspecified Potential Security Flaw » 2006-07-22 21:38:13

That's a new one on me.  Are you sure you havn't increased security settings in the past, make sure your IE is at the default security level.

#475 Re: User Discussion & Help » Xinha and MacOS » 2006-07-15 16:50:54

Xinha should work just fine in Firefox on Macs, Firefox is Firefox, whatever platform it's on (at least that's the theory).

It will not work on Safari currently.

To make it work in Safari I'd need a Mac for a start (or better we just need a developer with a Mac to do it).

Board footer

Powered by FluxBB