You are not logged in.
Yes, to a large extent we are limited by what the browser will do. Mozilla can be set to "useCSS" but I don't think that IE can be.
These problems should be fixed now. Sorry for the delay.
Hi guys,
I'm making this topic sticky, it would be good if we could get some other people to come up with logos so we can have a bit of a selection to choose from ![]()
The move has been completed...
* Trac is now at xinha.python-hosting.com
* SVN is now at http://svn.xinha.python-hosting.com/
* The forums have been moved but remain at the same URL (http://xinha.gogo.co.nz/punbb/index.php)
* Downloads, and the examples are similarly hosted on the same machine as the forums
users who have working copies of the repository checked out see the front page of the wiki for information.
Thanks for reposting that. I'm working on a new "skin" which these will go very nicely with.
Very kind of you, xinha.org fits ![]()
Sounds fine to me. Get coding ![]()
VPS can be quite slow, it is fun to play with, but serving this site will be slow I think. The problem is the ram, and/or cpu power, they are most likely allocated.
Wei.
We don't need that many resources actually, it's just the fact that we need to install subversion (and have it thusly open on ports) and python, and ... otherwise it would be fine even on a shared host (and I'd host it myself in that case), we don't have huge traffic, or CPU use or memory use. Yet.
would it be of benefit to create new forums for specific plugins so we can organize feature requests and conversations just for those? I think so...
First rule of buildng a community, don't break it up into special groups before there is enough critical mass to carry those special groups. More posts in a concentrated area means that the forum looks (and is) busy, thus attracting users.
I'll consider splitting the forum into dev and general in a few weeks, I'd like to see another couple pages of threads yet.
Should apply from day 1, it was the way I wrote it initially ![]()
That is awesome as. I have no problem with your code there, you might want to look at adjusting it to work with the FullScreen plugin (it does already but doesn't resize when the FullScreen resizes), apart from that I say it's all good.
I see Helene is distributed under the GPL, I'm not certain if it would be possible to include it in our Xinha distribution (as Xinha is licenced under the "htmlarea" licence, and we can't change to GPL even if we wanted to), perhaps somebody could ask the Helene authors if we could get a special dispensation to release helene under the htmlarea licence so we can include it?
Can you submit that as a ticket please ("New Ticket" at the top of the page). Thanks.
Is that complete? It doesn't look right.. where does _helene_iframe come from?
Wei wrote:Yermo, execellent, i will check it out. May be we can have a discussion on how to proceed with the rewrite?
could somebody open a wiki-page for discussion on new ImageManager and the features/whishes....
Unfortunatly because it keeps getting vandalised we can't have the wiki open to all.
I could maybe, possibly, perhaps open it to all members who are subscribed to the forum, by way of making the trac authentication use punbb's member information (actually, get apache to use it, trac leaves auth up to apache).
I'll look into it.
i like the idea too (all inline-dialogs)
but it is not always the best solution!for example the linker-plugin:
if i have a large tree and a small xinha i have to scroll all the time...you wrote once about making this configurable... that would be probably best
The colour picker the post references isn't an inline dialog, it's just a little colour pallate that "folds out" from the button. agree with you that inline dialogs like the Linker though are an aquired taste ![]()
inline-dialog.js was written with at least the general idea that there would be an accompanying popup-dialog.js at some stage.
Do I have to do anything after I do a setMode to disable all the buttons not relevant to textmode?
I do a setmode, and the button do not get disabled until I click on one of them.
Hmm. updateToolbar() maybe, but it should happen automatically
Ahh, shoudl have read the subject ![]()
Xinha can't currently do that (color choosers without opening a new window), but it would be a nice feature. Add it as a ticket, and if you're feeling up to it I'd love a patch - I don't think anybody would complain if it totally replaced the current popup window method, I know I wouldn't.
OK So I'm creating a page that has 5 editors being created with
xinha_editors = xinha_editors ? xinha_editors : [ 'page1ID', 'page2ID', 'page3ID', 'page4ID', 'page5ID' ];I have some external buttons that need to manipulate those forms, but I need to know how to get a reference to the editor object in a js function (ex 'page' + n + 'ID') so i can call insertHTML. Can someone please enlighten me? Thanks!
xinha_editors['page' + n + 'ID'].insertHTML() - after you have done the make_editors call, xinha_editors actually contains the editors themselves.
with mod_dav_svn subversion works over http!
is that not possible?
Not without Apache2. If somebody wants to donate a VPS we could run Apache 2 on that ![]()
I have plans in my head, and there is some code in the source.
If you have the time, js knowledge, some php/perl knowledge and a bit of inspiration, feel free to take it from where I left it, I don't know when I'll get a chance to get back to that area.
See htmlarea.js, search for "loadlang", and have a read of the _lc method below it. Basically loadlang should return, for a given "context" an object containing the translations for a string
{ "Hello" : "Bonjour" }
Then the idea is that where translations are required you do
HTMLArea._lc('Hello', 'HelloWorld')
and it returns either a translated string for "Hello" in the "HelloWorld" context.
The context defaults to HTMLArea, and is intended to basically be either the default or the name of a plugin.
The central point of the plan is that I want to be able to use loadlang both with static javascript translation files like we have currently, but also be able to "target" it to a php backend using GNU gettext, or a CF backend using some special database, or a ..... you get the idea.
The bit that needs some thought now though is the *default* behaviour of loadlang, specifically, given a context, how should it figure out what static javascript file it's supposed to load (using _geturlcontent()).
You should also have a look at the Linker plugin, and particularly inline_dialog.js (in the root), this already uses the _lc function to get translations, although it will only ever return the untranslated strings currently.
I've written a script now so I can quickly fix the primary problem, and I'll shortly write one to try and automate the process so that every x minutes it will check the db for corruption and fix it. At least that should keep things running until something better happens.
this doesn't sound like a solution, more a workaround or hack or whatever.... but if it keeps things running...
imho you could need a real server - not your workstation
A virtual private server would be best I think given that we need to run svn on it (either through ssh, svnserve or apache2, apache2 is probably best). Anybody want to stump up the cash, and the time to administer it? Perhaps we could find some kindly VPS providor to give a worthy open source project one for free ![]()
That said, my workstation is a Debian ("unstable" but it's never a problem) 1.2ghz machine with a gig of ram and a gig of swap, it should be pretty happy running it - I don't know why it's not.
Unfortunately the EnterParagraphs plugin is seriously broken so we've got to decide on something to do. Using the built-in version also has it's problems (although seemingly less broken than enterparagraphs).
In what way is EP broken? It seems to work ok for me (after the patch a while back to fix the double-paragraph problem).
gogo wrote:Actually, can somebody who has MS Word handy confirm that it behaves in the same way?
Word works exactly the same way. Put an ENTER at the end of the line and it looks like a paragraph. (i.e. each line move separately if you click in it and select center).
Do a SHIFT_ENTER at the end of the line then both lines move.
Yea, I was pretty sure that was how it worked. So effectily, in word we get <p>Foo</p><p>|</p> when hitting enter and <p>Foo<br/>|</p> when hiting shift-enter, but it doesn't display breaks between the paragraphs. I wonder what the internal representation of enter-enter is, <p>Foo</p><p></p><p>|</p> ? It think it might be, because in a list if you do enter-enter you'll get two list items (ie two paras, an empty one and the current one).
So of the various designs we've discussed which one should we implement?
Well. I don't know. Which do you want to implement?
Dong the <p></p> => <br /> (or <p> </p> - a whitespace paragraph rather than a null one) would be easiest, a simple dom search when you hit enter. Doing <br /><br /> => <p> would be hard to get right I think. Adding spans all over the place is just freakin ugly IMHO, but again, I just wouldn't use the plugin so doesn't matter to me. Adding classes or styles is similarly ugly.
Classes however may be the way..
Hit enter once and we get
<p class="noBlankLine">Foo</p>
<p>|</p>
hit again and it becomes
<p>Foo</p>
<p>|</p>
so hitting enter in the paragraph would have to detect if the last keypress was also enter,
yes: grab the previous sibling paragraph, remove the class, cancel the enter
no: set the class on the current paragraph, allow the enter to continue (return true)
I think this would be relatively easy.
Is it possible to do this like http://www.alfmiti.net/demo/tinyRTE_demo.htm does ?
What in particular?
gogo wrote:Unfortunatly, that probably means it's not going to work from the examples page here. Is there any way of making it use _editor_url?
image-manager.js default config updated and committed. images-url config option now relative to _editor_url by default.
Unfortunately, since there is no communication between image-manager.js and config.inc.php, the images_url in config.inc.php will still need to be set by hand if Xinha is not installed under DOCUMENT_ROOT/xinha.
I'll have to look at it some more when I get a chance.
Could you not do something with $PHP_SELF to work out where it's installed?
I'm working on improving the (re)sizing and some limited support for "skinning" simultaneously. It might be a while off yet though.