Drawer plugin not working: update
Björn Boxstart <[email protected]> Wed, 20 Jun 2007 22:19:47 +0200
| Newsgroups | gmane.editors.bitflux.general |
|---|---|
| Message-ID | <CA1BE9B4535BE64CB6FE7CB6EC922B300AB9E2@SRV-NLD-EX1.bogaartsonline.nl> |
This is a multi-part message in MIME format. --===============1833207157== Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C7B378.58F5DBCB" This is a multi-part message in MIME format. ------_=_NextPart_001_01C7B378.58F5DBCB Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, =20 Yesterday I reported that I couldn't get the Drawer plugin (kupu) to = work for selecting images from a library. I spent some time debugging = the scripts and changed some lines of code (callback functions are only = handled in bxe_appendChildNode and not in bxe_appendNode) and managed to = start up the plugin by inserting an 'afbeelding' (image) element. =20 One thing that I found out is that the Kupu Drawer plugin is written for = the xhtml schema. There is no option to insert your own element. It = always is inserting an 'img' element with a 'src' and an 'alt' = attribute. My schema uses the 'afbeelding' element and the 'bron' = attribute for insertion of images. I now fixed this in the code, but it = really needs to be possible to configure this behaviour from a = configuration file. =20 My next question is whether this is the mailing list to discuss these = things, or should I also assign to the developers mailing list. =20 Thanks again for your reaction! =20 Kind regards, =20 Bj=F6rn =20 P.S. this is what I like best about open source software over e.g. = Xopus. If it's not working you can always try to fix it.... ------_=_NextPart_001_01C7B378.58F5DBCB Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <HTML dir=3Dltr><HEAD>=0A= <META http-equiv=3DContent-Type content=3D"text/html; charset=3Dunicode">=0A= <META content=3D"MSHTML 6.00.6000.16441" name=3DGENERATOR></HEAD>=0A= <BODY>=0A= <DIV><FONT face=3DArial color=3D#000000 size=3D2>Hello,</FONT></DIV>=0A= <DIV><FONT face=3DArial size=3D2></FONT> </DIV>=0A= <DIV><FONT face=3DArial size=3D2>Yesterday I reported that I couldn't = get the Drawer plugin (kupu) to work for selecting images from a = library. I spent some time debugging the scripts and changed some lines = of code (callback functions are only handled in bxe_appendChildNode and = not in bxe_appendNode) and managed to start up the plugin by inserting = an 'afbeelding' (image) element.</FONT></DIV>=0A= <DIV><FONT face=3DArial size=3D2></FONT> </DIV>=0A= <DIV><FONT face=3DArial size=3D2>One thing that I found out is that the = Kupu Drawer plugin is written for the xhtml schema. There is no option = to insert your own element. It always is inserting an 'img' element with = a 'src' and an 'alt' attribute. My schema uses the 'afbeelding' element = and the 'bron' attribute for insertion of images. I now fixed this in = the code, but it really needs to be possible to configure this behaviour = from a configuration file.</FONT></DIV>=0A= <DIV><FONT face=3DArial size=3D2></FONT> </DIV>=0A= <DIV><FONT face=3DArial size=3D2>My next question is whether this is the = mailing list to discuss these things, or should I also assign to the = developers mailing list.</FONT></DIV>=0A= <DIV><FONT face=3DArial size=3D2></FONT> </DIV>=0A= <DIV><FONT face=3DArial size=3D2>Thanks again for your = reaction!</FONT></DIV>=0A= <DIV><FONT face=3DArial size=3D2></FONT> </DIV>=0A= <DIV><FONT face=3DArial size=3D2>Kind regards,</FONT></DIV>=0A= <DIV><FONT face=3DArial size=3D2></FONT> </DIV>=0A= <DIV><FONT face=3DArial size=3D2>Bj=F6rn</FONT></DIV>=0A= <DIV><FONT face=3DArial size=3D2></FONT> </DIV>=0A= <DIV><FONT face=3DArial size=3D2>P.S. this is what I like best about = open source software over e.g. Xopus. If it's not working you can always = try to fix it....</FONT></DIV></BODY></HTML> ------_=_NextPart_001_01C7B378.58F5DBCB-- --===============1833207157== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- bx-editor-users mailing list [email protected] http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-users --===============1833207157==--