Author
|
Message
|
STEVO +
|
Thursday 24 February 2005 1:53:42 am
spellcheck: the spellbound extension does work if you get rid of xmlareaPlugins[]=ContextMenu in xmlarea.ini. i'll look into adding a button on the toolbar that'll allow you to turn the context menu on/off. i'll also look into adding the perl spellcheck plugin soonish. liu: thanks for the patch i've added it to the latest revision which also contains big changes. now, a normal textarea with normal ezxmltext input is shown to everyone unless the htmlarea actually instantiates. this is how i should've done it initially + effectively it makes all the server side browser checking redundant. so, the question is, should i leave this browser checking in - as it stops those who haven't a chance of running the thing from having to download all the javascript - or get rid of it? also, d'you reckon it's ready for a beta release yet or what?
|
Eirik Alfstad Johansen
|
Thursday 24 February 2005 2:10:32 am
Hi STEVO,
also, d'you reckon it's ready for a beta release yet or what?
Since I'm already using it on a couple of production sites, I reckon a big yes! :)
Sincerely,
Eirik Alfstad Johansen
http://www.netmaking.no/
|
STEVO +
|
Thursday 24 February 2005 5:24:58 am
nice one, eirik + well done on getting rid of horrible, wide page number 3!
|
liu spider
|
Thursday 24 February 2005 2:53:12 pm
stevo: could you consider apply this patch:
Index: ezxmltext/handlers/output/xmlareaxmloutput.php
===================================================================
--- ezxmltext/handlers/output/xmlareaxmloutput.php (revision 520)
+++ ezxmltext/handlers/output/xmlareaxmloutput.php (working copy)
@@ -469,7 +469,7 @@
case 'object' :
{
- $tagText = $this->renderObjectTag(&$tpl, &$tag, &$isBlockTag );
+ $tagText = $this->renderObjectTag($tpl, $tag, $isBlockTag );
}break;
case 'table' :
@@ -659,7 +659,7 @@
// custom tags which could added for special custom needs.
case 'custom' :
{
- $tagText = $this->renderCustomTag(&$tpl, &$tag, &$currentSectionLevel, &$tdSectionLevel, &$childTagText );
+ $tagText = $this->renderCustomTag($tpl, $tag, $currentSectionLevel, $tdSectionLevel, $childTagText );
}break;
case 'link' :
in moden php versions, when calling a function using references, you do not need to specify & Agree for beta version too.
http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd
|
STEVO +
|
Friday 25 February 2005 2:36:17 am
mornin' all, i've done that liu thanks once again. i've just added the perl spellcheck plugin (don't ask me how to configure it) + a 'contexttoggle' button that turns the custom context menu on/off to allow the use of spellbound or whatever. you'll have to turn both of these on in xmlarea.ini. beta release on monday i reckon. woohoo.
|
liu spider
|
Friday 25 February 2005 4:25:40 am
thanks. Another question: how can I go back to the WYSIWYG mode after I toggle the edit mode to html source? Is there a shortcut or do I have to reload the edit page?
http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd
|
STEVO +
|
Friday 25 February 2005 5:51:53 am
liu: if you mean the 'editmode' button that's now on the left, that shows the ezxmltext input then the toolbar should stay at the top + you can click it again to return. if the toolbar dissapears, then it's a bug i haven't seen. if you mean the 'htmlmode' or now, 'debug' button that's on the right + shows the html produced by the editor then this is a bug i have seen but haven't got round to fixing yet. you can avoid it by first switiching 'editmodes' to xml + back before using this button.
|
liu spider
|
Friday 25 February 2005 9:40:02 am
I meant the left most button, the first senoria you mentioned. I changed another machine, and now the problem is gone. Sorry for bothering.
http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd
|
STEVO +
|
Wednesday 02 March 2005 6:33:06 am
now then, i've removed server side browser check ( so there's now need for ezbrowsersniff), replaced javascript remote scripting with xmlhttprequests + released a beta version: http://ez.no/community/contribs/applications/xmlarea i'll prolly leave it alone for a while now. cheers
|
Mauro Innocenti
|
Thursday 03 March 2005 7:59:48 am
I'm new to eZ, but I successfull installed and configured in VirtualHost mode, creating also a new site from scratch.
I enabled XMLArea extension following instructions and It worked! but I'm not able to enabling popus, e.g. for editing a link! I'm getting allways the "kernel (20) / Error The requested page could not be displayed.". My apache conf contain, for my eZ VirtualHost setup:
RewriteRule !(^/design|^/var/.*/storage|^/var/storage|^/var/.*/cache|^/var/cache|^/kernel/setup/packages|^/packages|^/share/icons).*\.(gif|css|jpg|png|jar|js|ico|pdf|swf)$ /index.php
Is It correct? Thanks for help! Mauro
|
STEVO +
|
Thursday 03 March 2005 8:08:16 am
change this to RewriteRule !(^/design|^/var/.*/storage|^/var/storage|^/var/.*/cache|^/var/cache|^/kernel/setup/packages|^/packages|^/share/icons).*\.(gif|css|jpg|png|jar|js|ico|pdf|swf|html|htm)$ /index.php
+ they should work. some of the popups are just static html files + your rule was catching them + redirecting them to index.php
|
Pablo C. Vergara Castro
|
Friday 04 March 2005 1:21:03 am
Hi to all. In this time I'm using the fantastic XMLArea extension but ever when I use the object relation link I have to modify two files to see the right css and preview, the files are: object.tpl and xmlarea_pagelayout and the updates are:
object.tpl:
...
<script type="text/javascript" src={'/extension/xmlarea/design/standard/javascript/popup.js'|ezroot}></script>
<script type="text/javascript" src={'/extension/xmlarea/design/standard/javascript/pagestyle.js'|ezroot}></script>
...
xmlarea_pagelayout.tpl
...
<link rel="stylesheet" type="text/css" href={'/design/admin/stylesheets/core.css'|ezroot} />
<link rel="stylesheet" type="text/css" href={'/design/admin/stylesheets/site.css'|ezroot} />
...
I hope this will be usefull.
|
Mauro Innocenti
|
Friday 04 March 2005 1:33:08 am
Thanks,
the setting work right, but only with eZ installed with one of the standard demo sites (I selected "corporate").
In my installation from scratch (no demo sites) the popups still don't work. I think I must find the correct eZ settings for siteaccess...
Another question (bugs?):
I tested XMLArea with Firefox 1.0.1 and Linux Fedora Core 3 (same host running eZ on apache 2).
- In standard article's edit pages (admin) are two textarea enabled with XMLArea and when I click with right mouse button for opening the context menu this appear allways on top of the first textarea, even when I'm editing the text of the second... - The '<>' Edit mode button of the toolbar is not working for me
Thanks a lot, Mauro
|
Pablo C. Vergara Castro
|
Friday 04 March 2005 3:14:20 am
Hi to all. I'm using the xmlarea 0.2 in one of my sites and I can't see the menu buttons using IE6. SORRY SOORRYY... I COULD FIND THE MENU BUTTONS....¡at the left-bottom of the page :_(! Know anybody what is the problem? Greetings (and thanks in advances)
|
STEVO +
|
Friday 04 March 2005 3:48:01 am
pablo - bah, i somehow managed to leave htmlarea.css out of the .zip. i've sorted it now in 0.2.1 + added your ezroot fixes too. i'll get the hang of realeasing stuff one of these days, apologies.
|
liu spider
|
Friday 04 March 2005 3:48:46 pm
it seems that alignment center of object in xmlarea will generate some code like this: <object id="116" size="banner" align="middle" /> however, according to eZ doc, align="middle" should be align="center" (I am using latest svn)
http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd
|
Fraser Hore
|
Saturday 05 March 2005 1:14:39 pm
Thanks for creating this fantastic extension! I have only one problem, I don't know how to configure the .htaccess file. I found this in the forum...
RewriteRule !(^/design|^/var/.*/storage|^/var/storage|^/var/.*/cache|^/var/cache|^/kernel/setup/packages|^/packages|^/share/icons).*\.(gif|css|jpg|png|jar|js|ico|pdf|swf|html|htm)$ /index.php
... and copied into the .htaccess file but still no popups (e.g. for tables) Could you please tell me exactly what I must put in the .htaccess file. Thanks, Fraser
|
liu spider
|
Saturday 05 March 2005 7:40:07 pm
found another issue: the <> "Toggle Edit Mode" button on the left side of the toolbar stops working (latest SVN), in the mozilla javascript console I got: Error: [Exception... "'Permission denied to call method XMLHttpRequest.open' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no] any ideas? thanks.
http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd
|
liu spider
|
Sunday 06 March 2005 3:23:46 pm
The patch for virtual host popup is gone again in 521 (it was incorporated in 520). Could you check it steve?
http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd
|
liu spider
|
Sunday 06 March 2005 3:51:53 pm
I find the problem which causing the <> button stop working: another virtual host issue.
if I change: 398 line of
xmlhttp.open("POST", _editor_indexfile + "/xmlarea/xmlhttp/"+mode, true);
to
xmlhttp.open("POST", "/xmlarea/xmlhttp/"+mode, true);
it works fine. (In virtual host setup, _editor_indexfile = "/") Of course, after this modification, non-virtual host users can not use it. I think, maybe a dedicated path_checking routine is needed in javascript to auto detect what the path should be. Thanks.
http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd
|