XMLArea extension development

XMLArea extension development

Monday 20 December 2004 7:23:19 am - 216 replies

Author Message

Xavier Dutoit

Tuesday 21 December 2004 1: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.

http://www.sydesy.com

Xavier Dutoit

Tuesday 21 December 2004 1:14:35 am

I experience a funny problem with Firefox 1 on linux: the toolbar displayed at the top of the screen is fine when I turn on the editor, but if I go to a another tab and come back, it isn't there anymore. Anyone has the same problem ?

X+

http://www.sydesy.com

Eirik Alfstad Johansen

Tuesday 21 December 2004 1: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.

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Eirik Alfstad Johansen

Tuesday 21 December 2004 4:45:46 am

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!

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Eirik Alfstad Johansen

Tuesday 21 December 2004 5:03:08 am

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.

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Tim Dickinson

Tuesday 21 December 2004 5:22:10 am

I noticed this, but if you simply highlight the text you want to become a link, then link code is added.

Regards,

Tim

http://www.AdBalance.com - Ad network news and reviews
http://www.DevPublisher.com - Website publisher guides, tools and news
http://www.AudioMelody.com - Make better music

Eirik Alfstad Johansen

Tuesday 21 December 2004 5:32:58 am

Sorry for not being clear. I was refering to linking embedded objects.

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Eirik Alfstad Johansen

Tuesday 21 December 2004 6:12:56 am

Just one more, and I promise I'll stop (at least for today). :)

Anchors disappear when stored, and when toggling between edit modes.

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

liu spider

Tuesday 21 December 2004 8:45:04 am

>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.

http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd

Steve Conrad

Wednesday 29 December 2004 4:42:27 am

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?

Tobias Persson

Wednesday 29 December 2004 4:59:26 am

Steve: I think you need eZPublish 3.5 for it to work.

Kamyar Houbakht

Sunday 02 January 2005 10:24:17 pm

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?

Tobias Persson

Sunday 02 January 2005 11:04:12 pm

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.

Kamyar Houbakht

Sunday 02 January 2005 11:59:11 pm

Thanks Tobiass, that was it. You saved me a lot of time.

STEVO +

Monday 03 January 2005 6:36:49 am

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/listing.php?repname=community&path=%2Ftrunk%2Fextension%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.

Eirik Alfstad Johansen

Tuesday 04 January 2005 1: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.

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Eirik Alfstad Johansen

Tuesday 04 January 2005 1:31:27 am

Hi again,

I also get a 404 when clicking the "Insert/Modify Object" button because it assumes that the ezp index.php file is located in my root dir.

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

STEVO +

Tuesday 04 January 2005 9:34:53 am

ack, thanks eirik.

i think it's all fixed now in 0.11b, i've actually tested it this time!

Eirik Alfstad Johansen

Wednesday 05 January 2005 6:22:05 am

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.

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Lonnie VanZandt

Friday 07 January 2005 1: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!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.