IE 8 insert issue with Kupu

Hi,

I know this is a long shot, but we have a system that uses the Kupu editor that works fine in IE 7 but in IE 8 if you try to insert anything it gets inserted at the top of the document, rather than where the cursor is. 

I know this was reported as a bug (http://dev.plone.org/old/plone/ticket/9491) but as development on Kupu has stopped and I don't understand the workaround I was wondering if anyone who was still subscribed to this list might be able to give me some further information on the workaround or suggest an alternative fix?

Thanks in advance,

Caroline
-- Caroline Sturtridge Domus
_______________________________________________
kupu-dev mailing list
kupu-dev <at> codespeak.net
http://codespeak.net/mailman/listinfo/kupu-dev
Michiel Meeuwissen | 13 Apr 14:16
Picon
Gravatar

kupu.oscom.org

Hi,

It seems that the oscom.org server has disappeared. Does anybody have
a copy of the kupu web-site, and could we perhaps put it somewhere
else? Perhaps on codespeak.net or so?

Michiel

--

-- 
mihxil'  http://meeuw.org
nl_NL eo_XX en_US
Picon
Gravatar

creating a drawer

Hi,
At first time, sorry for my bad english.
I need some help to create a custom drawer to list specific content on a plone site and insert it on a page edited with kupu.
Any one knows how can I do it?
Thanks for your help.

--
Atenciosamente, Vinícius das Chagas Silva
Núcleo de Pesquisa em Sistemas de Informação - NSI
Instituto Federal Fluminense - IF Fluminense
-----------------
Linux User #475221

_______________________________________________
kupu-dev mailing list
kupu-dev <at> codespeak.net
http://codespeak.net/mailman/listinfo/kupu-dev
Ignacio Valdes | 23 Jun 22:37
Picon

Kupu Windows stand-alone?

Hi all,

Is there such a thing as a stand-alone Kupu editor for Windows?

-- IV
Roché Compaan | 23 Jun 20:19
Picon
Favicon
Gravatar

Extending Kupu to edit XML in another namespaces

Hi there

My development team is trying to extend Kupu with some features to allow
editing of XML in other namespaces, for example MathML. We did manage to
embed MathML as CDATA but this is not ideal. Our efforts are checked
into the Plone collective.
http://svn.plone.org/svn/collective/collective.matheditor/
FYI, in addition to MathML we also want to extend it to embed QML
(http://cnx.org/content/m10136/latest/).

For a start, we would like to know what must be done to tell Kupu to
leave alone tags in other namespaces. Furthermore, we would like to know
how you can make Kupu aware of the structure of the embedded XML.

Is what we are trying to do feasible, or is Kupu meant to edit HTML
only?

Any pointers will be highly appreciated!

--

-- 
Roché Compaan
Upfront Systems                   http://www.upfrontsystems.co.za

_______________________________________________
kupu-dev mailing list
kupu-dev <at> codespeak.net
http://codespeak.net/mailman/listinfo/kupu-dev
Ross Patterson | 30 May 21:05
Gravatar

Products.kupu = 1.4.13 breaks inline KSS editing

Just wanted to draw your attention to the following Plone bug:

https://dev.plone.org/old/plone/ticket/9239#comment:4 writes:

> #9239: Inline editing doesn't work
> ----------------------------------+-----------------------------------------
>  Reporter:  dannyb                |        Owner:  duncan
>      Type:  Bug                   |       Status:  new   
>  Priority:  blocker               |    Milestone:  3.3   
> Component:  Visual Editor (Kupu)  |   Resolution:        
>  Keywords:                        |  
> ----------------------------------+-----------------------------------------
> Changes (by rossp):
>
>  * cc: rossp (added)
>   * owner:  ree => duncan
>   * component:  KSS (Ajax) => Visual Editor (Kupu)
>
>
> Comment:
>
>  I reverted "Products.kupu = 1.4.12.1" in versions.cfg and inline
>  kupu editing works again.  I didn't see anything obvious in the
>  Products.kupu changelog from 1.4.12.1 to 1.4.13 and I know very little
>  about kupu so I'm afraid this is all I can do ATM.

Thanks!
Ross
Andy Altepeter | 11 May 18:02
Gravatar

kupu updatestate patch

Greetings,

I'm a Silva developer, working to push Silva's kupu implementation to the next 
level.  I've identified a bug in kupueditor.js which causes clicks in the 
content to trigger two state updated.  There updatestate handler is being 
called twice, because it is registered for both mouseup and click.

This causes a few problems.  One of them is mostly visual: screen flickers can 
happen, if the state of the tools changes.  The second one is that if 
updatestate triggers any AJAX requests, they happen twice.

I've attached a patch for this, and would like to see it put in the trunk.  
However, silva has it's own branch of kupu, for reasons that aren't quite 
clear to me, and this will also need to be applied there as well.

Please advise on how to proceed with this patch.

Cheers,
Andy
_______________________________________________
kupu-dev mailing list
kupu-dev <at> codespeak.net
http://codespeak.net/mailman/listinfo/kupu-dev
Gerhard Weis | 24 Apr 06:23
Picon
Picon

small js-bugfix in kupudrawers.js

Hi,

I experimented with kupu under Safari 4 (I know Safari is not  
supported.) and discovered a small bug.
The result of importNode is not written back to the variable, and  
hence Safari throws a 'Wrong Document Exception'.
In theory other DOM3 complant browsers shold throw this exception too.

I attached a patch against http://codespeak.net/svn/kupu/trunk (rev.  
64199).
I discovered the problem in kupu release 1.4.12.1, but there is the  
same problem in trunk.

Btw. Kupus javascript code seems seems to work fine in Safari 4,  
however there is a big problem with XSLT.

cheers,

Gerhard

Attachment (kupudrawers.diff): application/octet-stream, 587 bytes

_______________________________________________
kupu-dev mailing list
kupu-dev <at> codespeak.net
http://codespeak.net/mailman/listinfo/kupu-dev
Picon

custom how to interact with server from kupu-tool

Hi!
i'm trying to extend kupu for Plone.
I have 2 questions. Maybe somebody could help me.
1) I've created a custom button and I have a tool for it.
The tool shows a dialog-box that contains a form.
The form includes a field which value should be equal to current data when that dialog-box is loaded.
I have written a js-function that generates current data. I have no problem with calling this function on such events as "onclick", "onblur" and so on.
But i have no idea how to call it "onload" event, because the dialog-box div have no tag "body", so i have no place to point actions for "onload" event.
Any help will be appeciated.
2) The above mentioned diialog box contains a form with a search button and a div above it.
When the search button is presses and the form is submitted i need to send form data to a py-file that should handle it and return the result to the div above the form.
When the search button is presses and the form is submitted  form data should be sent to a .py-file that makes a request to a database,
handles received data and returns result to the div above the form.
(an example how to make it with a php-file will greate for me too).
I simply can't understand what methods (js-functions?) should i use to send data to file and return result without reloading the page.
I tried to find it out it learning the image-manager code, but it's too difficult for me.
Maybe somebody could point me a direction for the further search.
Thank you!

_______________________________________________
kupu-dev mailing list
kupu-dev <at> codespeak.net
http://codespeak.net/mailman/listinfo/kupu-dev
Alan Runyan | 17 Mar 17:28

AttributeError on html_captioned

Hey sisi,

goto portal_transforms

delete the top two transforms they should be something like:
  - html_to_captioned
  - captioned_to_html

then go back to the kupu tool in plone click save

when you click save on kupu tool it recreates those two portal_transforms
you deleted.

take note of the two portal_transforms your deleting in case it doesnt work.

tell me if that works.

if it *does not* work just use Undo and undo the last 2 transaction,
deleting transforms and saving the kupu tool

--

-- 
Alan Runyan
Enfold Systems, Inc.
http://www.enfoldsystems.com/
phone: +1.713.942.2377x111
fax: +1.832.201.8856
sisi | 17 Mar 11:21
Favicon
Gravatar

kupu_captioned_image - folder_summary_view.pt in Plone 3.1


Hi Kupuistas,

I'm upgrading plone from 3.0.6 to 3.1.7 and I'm getting the 
kupu_captioned_image error from the ticket below:

http://dev.plone.org/plone/ticket/8463

I don't find anything about this in this mailing list, and can't tell 
what the final outcome is from the ticket. I can try to apply the 
patches mentioned, but one of the links to a patch that should work is 
broken (http://rafb.net/p/vaZg8o43.html), and it seems that there is 
also the issues with folder_summary_view.pt, which is what my error is 
pointing at (when I have a collection as a default view on a folder).

Could someone let me know what the best course of action is?

Some specs and my traceback below.

Thanks!
sisi

Plone 3.1.7
Zope 2.10.6-final
python 2.4.5
Ubuntu
kupu 1.4.12

Time  	2009/03/17 10:33:21.029 GMT+1
User Name (User Id) 	admin (admin)
Request URL 
http://localhost:8081/foeiMultisiteFolder/foei/en/media/index/folder_summary_view
Exception Type 	AttributeError
Exception Value 	kupu_captioned_image

Traceback (innermost last):

     * Module ZPublisher.Publish, line 119, in publish
     * Module ZPublisher.mapply, line 88, in mapply
     * Module ZPublisher.Publish, line 42, in call_object
     * Module Shared.DC.Scripts.Bindings, line 313, in __call__
     * Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
     * Module Products.CMFCore.FSPageTemplate, line 216, in _exec
     * Module Products.CacheSetup.patch_cmf, line 48, in FSPT_pt_render
     * Module Products.CacheSetup.patch_cmf, line 120, in PT_pt_render
       Warning: Macro expansion failed
       Warning: exceptions.KeyError: 'fl_macro'
     * Module zope.tal.talinterpreter, line 271, in __call__
     * Module zope.tal.talinterpreter, line 346, in interpret
     * Module zope.tal.talinterpreter, line 891, in do_useMacro
     * Module zope.tal.talinterpreter, line 346, in interpret
     * Module zope.tal.talinterpreter, line 536, in do_optTag_tal
     * Module zope.tal.talinterpreter, line 521, in do_optTag
     * Module zope.tal.talinterpreter, line 516, in no_tag
     * Module zope.tal.talinterpreter, line 346, in interpret
     * Module zope.tal.talinterpreter, line 957, in do_defineSlot
     * Module zope.tal.talinterpreter, line 346, in interpret
     * Module zope.tal.talinterpreter, line 536, in do_optTag_tal
     * Module zope.tal.talinterpreter, line 521, in do_optTag
     * Module zope.tal.talinterpreter, line 516, in no_tag
     * Module zope.tal.talinterpreter, line 346, in interpret
     * Module zope.tal.talinterpreter, line 861, in do_defineMacro
     * Module zope.tal.talinterpreter, line 346, in interpret
     * Module zope.tal.talinterpreter, line 957, in do_defineSlot
     * Module zope.tal.talinterpreter, line 346, in interpret
     * Module zope.tal.talinterpreter, line 536, in do_optTag_tal
     * Module zope.tal.talinterpreter, line 521, in do_optTag
     * Module zope.tal.talinterpreter, line 516, in no_tag
     * Module zope.tal.talinterpreter, line 346, in interpret
     * Module zope.tal.talinterpreter, line 536, in do_optTag_tal
     * Module zope.tal.talinterpreter, line 525, in do_optTag
     * Module zope.tal.talinterpreter, line 346, in interpret
     * Module zope.tal.talinterpreter, line 949, in do_defineSlot
     * Module zope.tal.talinterpreter, line 346, in interpret
     * Module zope.tal.talinterpreter, line 861, in do_defineMacro
     * Module zope.tal.talinterpreter, line 346, in interpret
     * Module zope.tal.talinterpreter, line 536, in do_optTag_tal
     * Module zope.tal.talinterpreter, line 521, in do_optTag
     * Module zope.tal.talinterpreter, line 516, in no_tag
     * Module zope.tal.talinterpreter, line 346, in interpret
     * Module zope.tal.talinterpreter, line 861, in do_defineMacro
     * Module zope.tal.talinterpreter, line 346, in interpret
     * Module zope.tal.talinterpreter, line 586, in do_setLocal_tal
     * Module zope.tales.tales, line 696, in evaluate
       URL: 
file:/media/localdisk/buildouts/prod-test-foei3/parts/plone/CMFPlone/skins/plone_content/folder_summary_view.pt
       Line 31, Column 8
       Expression: <PathExpr standard:u'here/aq_explicit/getText|nothing'>
       Names:

       {'container': <PloneSite at /foeiMultisiteFolder/foei>,
        'context': <ATTopic at /foeiMultisiteFolder/foei/en/media/index>,
        'default': <object object at 0xb7d34528>,
        'here': <ATTopic at /foeiMultisiteFolder/foei/en/media/index>,
        'loop': {},
        'nothing': None,
        'options': {'args': ()},
        'repeat': <Products.PageTemplates.Expressions.SafeMapping object 
at 0xc5a0ecc>,
        'request': <HTTPRequest, 
URL=http://localhost:8081/foeiMultisiteFolder/foei/en/media/index/folder_summary_view>,
        'root': <Application at >,
        'template': <FSPageTemplate at 
/foeiMultisiteFolder/foei/folder_summary_view used for 
/foeiMultisiteFolder/foei/en/media/index>,
        'traverse_subpath': [],
        'user': <PropertiedUser 'admin'>}

     * Module zope.tales.expressions, line 217, in __call__
     * Module Products.PageTemplates.Expressions, line 161, in _eval
     * Module Products.PageTemplates.Expressions, line 123, in render
     * Module Products.Archetypes.ClassGen, line 56, in generatedAccessor
     * Module wicked.fieldevent, line 29, in render
     * Module zope.event, line 23, in notify
     * Module zope.component.event, line 26, in dispatch
     * Module zope.component._api, line 130, in subscribers
     * Module zope.component.registry, line 290, in subscribers
     * Module zope.interface.adapter, line 535, in subscribers
     * Module wicked.fieldevent, line 16, in notifyFieldEvent
     * Module zope.component._api, line 101, in getMultiAdapter
     * Module zope.component._api, line 114, in queryMultiAdapter
     * Module zope.component.registry, line 206, in queryMultiAdapter
     * Module zope.interface.adapter, line 482, in queryMultiAdapter
     * Module wicked.fieldevent.meta, line 78, in field_value
     * Module Products.Archetypes.Field, line 1391, in get
     * Module Products.Archetypes.BaseUnit, line 100, in transform
     * Module Products.PortalTransforms.TransformEngine, line 179, in 
convertTo
     * Module Products.PortalTransforms.chain, line 46, in convert
     * Module Products.PortalTransforms.Transform, line 190, in convert
     * Module Products.kupu.plone.html2captioned, line 127, in convert

AttributeError: kupu_captioned_image

--

-- 
# Our 2009 "dreams, hopes and possibilities for a better future"
# calendar makes a great gift, and profits support Friends of the
# Earth's campaigning! You can buy it here:
# http://www.foei.org/en/get-involved/shop/calendar
#
# sisi nutt # web integrator
# Friends of the Earth International
# PO Box 19199 # 1000 GD Amsterdam # The Netherlands
# Tel 31 20 6221369  # Fax 31 20 6392181  # http://www.foei.org
# email sisi <at> foei.org # skype foei_sisi

Gmane