Monday 20 December 2004 4:23:19 pm - 216 replies
just thought i'd start this thread to stop the contributions area getting clogged up.
the contribution is here:
http://ez.no/community/contribs/applications/xmlarea
http://pubsvn.ez.no/community/trunk/extension/xmlarea
please leave bug reports + suggestions here though bear in mind i personally won't be doing anything much til the new year.
i hope eZ don't mind me using the forum in this way.
Tuesday 21 December 2004 10:13:10 am
Hi,
That's a good idea to start a thread here. i've got the same problem with my extension, where I miss the notification feature, so I don't know when someone post something. It'd be great if ez improve the extension area so it has the same features than the forum.
Anyway, I've updated from the svn, I don't have the error anymore (thanks!), but still have a warning (on the constructor) :
Missing argument 2 for xmlareaxmloutput() in /var/workspace/xavier/sydesy/trunk/extension/xmlarea/ezxmltext/handlers/output/xmlareaxmloutput.php on line 45
I don't know what $aliasedType is, but it should be defaulted to null if unused (just to avoid the warning). Also, be proud of what you've done and modify the headers (unless you're bf and the class is eZXHTMLXMLOutput)... just to know who to blame ![]()
I wish you all a merry Xmas.
Tuesday 21 December 2004 10:44:18 am
A GPL WYSYWYG XML EZP editor ?! I can't belive it! I tried explaining what a great deal this is to my girlfriend, but she didn't seem to understand what the fuzz was about. I think the second acronym threw her off. ![]()
Great job, STEVEO! Looking forward to implement it.
Tuesday 21 December 2004 1:45:46 pm
Hi again,
Here are my first bug reports.
As someone mentioned earlier, the editor definitly looks better in Firefox. However, until the rest of the world understands that this is the better browser, I'm somewhat concerned about its appearance in IE.
On my test system, running phpdev locally on my Win XP, and using I.E 6 as the browser, the toolbar remains on the top of the page when scrolled in IE, as apposed to the top of the browser window as in Firefox. This, in combination with what I belive is an eZP CSS bug (or IE CSS bug, depending on how you look at it), causes the the toolbar and the text area to not appear on the same screen (se screenshot: http://www.netmaking.no/ezp/xmleara_screenshot.jpg).
If I remember correctly, there's a setting in HTMLArea which decides whether the toolbar should be placed on the top of the page, or in association with the textarea. If I'm correct, perhaps this setting could be added as an INI setting to the xmlarea.ini file?
Furthermore, I had some trouble initially, probably due to a quick-n-dirty setup of my test system. Since the ezp installation was not installed in the root web directory, and no rewrite rules were in effect, the javascript files where not found. This was due to the HTML code looking for the script files in /extension/and_so_on dir when it should have been looking in /ez/extension/and_so_on. This might be worth mentioning in the readme file.
Thanks again for contributing this great tool!
Tuesday 21 December 2004 2:03:08 pm
Hi again,
I seem to have come over yet another bug. It seems that the attributes "Link URL" and "Link target" are not conveyed to the text area. To see what I mean, try specifying a link url and target, and then switch to code view in the editor.
Tuesday 21 December 2004 5:45:04 pm
>Missing argument 2 for xmlareaxmloutput() in >/var/workspace/xavier/sydesy/trunk/extension/xmlarea/ezxmltext/handlers/output/xmlareaxmloutput.php on line 45
I reported this in the extension area. I think you can just assign a "" string to that variable.
Wednesday 29 December 2004 1:42:27 pm
I've tried to install this. I seem to have it half working!
I can activate the extension in ezpublish, but when a new item is created, the page doesn't look complete.
1st off, each box has no title, just a colon before it.
2nd there is no right side of the screen (translate/preview) etc.
Although I can use the editor, once I click on publish, I get a 'location did not validate' error and no document is created.
checkout the screen print at http://www.steveconrad.co.uk/images/screen.jpg
I guess this must be an install error but I've no idea what's gone wrong.
Can anyone shed some light on this please?
Modified on Wednesday 29 December 2004 1:48:32 pm by Steve Conrad
Monday 03 January 2005 7:24:17 am
Guys I have been trying to use this extension but no success.
1-ezPublish 3.5
2-uploaded to extensions directory + ezBrowserSniff
3-Activated in Extensions Area
4-Added the roll allow for all functions on xmlarea for Anonymous
5-Clear the cache
Am I missing anything? The link "turn on" apears at the bottom of xmltext fields, but when I click on it -> no action. The page will refresh and the link still says "turn on".
On debug mode I get two errors on line 45 and 47 of extension/xmlarea/ezxmltext/handlers/output/xmlareaxmloutput.php for the variable $aliasedType.
Any suggestions?
Monday 03 January 2005 8:04:12 am
Kamyar: Don't know if this is the problem you are having, but I had some problems with the javascripts in XMLArea at first. If you have Ezpublish installed in a subdir (ie www.mydomain.com/ezdemo/index.php ), some javascripts have the wrong paths.
I solved it by copying all javascripts to my rootdomain.
Modified on Monday 03 January 2005 8:04:28 am by Tobias Persson
Monday 03 January 2005 3:36:49 pm
happy new year all.
i've fixed the links to use ezdesign etc. (that was daft of me)
it's changed in pubsvn rev 491:
http://pubsvn.ez.no/websvn/listin...on%2Fxmlarea%2F&opt=dir&sc=1
+ since it was causing so much bother i've released 0.11 with the fix.
thanks for your everyone's time so far (especially eirik!) i'm still busy with other stuff but i hope to have sussed most of the big bugs by the end of january + improve things in the dreaded ie.
Modified on Monday 03 January 2005 3:44:34 pm by STEVO +
Tuesday 04 January 2005 10:22:25 am
Hi STEVO,
The following images seem to be missing from the toolbar in v. 0.11:
- Quote
- Factbox
- Insert Anchor
- Insert/Modify Object
- Toggle Edit mode
I do not have eZP installed in the root dir, so it might got something to do with that.
Wednesday 05 January 2005 3:22:05 pm
Hi again STEVO,
Just thought I would let you know that I'm unable to turn the editor on and off without clearing the cache. Probably some template caches that need to be deleted.
Modified on Wednesday 05 January 2005 3:22:44 pm by Eirik Alfstad Johansen
Friday 07 January 2005 10:45:31 pm
Related to the positioning of the toolbar: I wonder if my absolute positioning, multi-layering CSS stylesheet is going to conflict with how the XMLArea toolbar gets positioned and seen. Depending on Z-ordering, it may get buried. I'd rather have the toolbar pin itself to the XML area that it is associated with.
On a related note, why can't I justify paragraphs (or at least assign them CSS classes) in the XML area? Not even with this very promising editor...
You must be logged in to post messages in this topic!