Re: [Product-Developers] Delegation of Site Administrator role

2013-03-27 Thread Raphael Ritz
On 3/27/13 1:56 PM, Godefroid Chapelle wrote: Hi all, Does someone know about a package that adds delegation of Site Administrator role through Sharing tab ? Regards, Do you mean something like that http://plone.org/documentation/kb/add-new-roles-to-the-sharing-page Raphael

Re: [Product-Developers] Taxonomy support in a modern Plone

2012-08-30 Thread Raphael Ritz
On 8/30/12 10:26 AM, Malthe Borch wrote: [..] Have you thought of upgrading ATVocabularyManager to use dexterity instead? No. I think it's a good time to start with something all new. Don't want to stop you from starting all over on this still I cannot resist to point to PloneOntology

Re: [Product-Developers] Shoutout to Nathan Van Gheem for collective.documentviewer

2012-04-23 Thread Raphael Ritz
On 4/23/12 10:04 AM, Dylan Jay wrote: On 23/04/2012, at 3:23 PM, Jon Stahl wrote: I just wanted to give Nathan Van Gheem a public, on-the-record shoutout for the stone cold awesomeness that is collective.documentviewer. http://pypi.python.org/pypi/collective.documentviewer/ If you have a

Re: [Product-Developers] Stuck overriding a stock Ploine viewlet...

2012-02-09 Thread Raphael Ritz
On 2/8/12 7:05 PM, Gilles Lenfant wrote: Hi, Sorry for the disturbance, but I'm actually stuck overriding a standard viewlet of Plone (4.1): The plone.links.RSS that goes in the HTML head. [..] I'm stuck finding why this does not work as expected (the original viewlet is rendered in place

Re: [Product-Developers] controlling allowed content types inside folderish

2011-11-30 Thread Raphael Ritz
On 11/29/11 6:32 PM, Maarten Nieber wrote: ajunglists@... writes: Yes, checking the existing docs: http://collective- docs.readthedocs.org/en/latest/content/creating.html#restricting-creating-on- content-types Hi ajung, thanks for replying. I forgot to mention that my content type is

Re: [Product-Developers] Exception after installing Products.CallProfiler

2011-11-23 Thread Raphael Ritz
On 11/23/11 10:14 AM, Dominik Ruf wrote: I added Products.CallProfiler to the eggs of my buildout. After restarting in debug mode I got the following exception. 2011-11-23T09:33:49 ERROR Application Couldn't install CallProfiler Traceback (most recent call last): File

Re: [Product-Developers] Calling a python 2.6 script from Plone 3

2011-10-31 Thread Raphael Ritz
On 10/31/11 10:29 AM, Mike Metcalfe wrote: Hi, I'm maintaining a Plone 3.3.5 add-on product that now needs to take a photo with a webcam. The python package I'd like to use is python-opencv which is only available for python 2.6. I created a script to take the photo which works when called from

Re: [Product-Developers] How to override MembershipTool (or how to use custom portraits)

2011-08-16 Thread Raphael Ritz
On 8/15/11 9:42 PM, Dominik wrote: Hi, I'd like to create an addon that uses portraits that are not stored in plone. So far I found out that the portraits are managed by the MembershipTool. So I guess I have to override the MembershipTool with one that has a custom getPersonalPortrait()

Re: [Product-Developers] ComponentLookupErrors with various add-ons unter Plone 4.1

2011-08-12 Thread Raphael Ritz
On 8/12/11 6:07 PM, Andreas Jung wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I encountered the following error with multiple add-ons under Plone 4.1 (working nicely with Plone 4.0).

Re: [Product-Developers] Register an CSS-File??

2011-08-11 Thread Raphael Ritz
On 8/11/11 2:48 PM, vii wrote: Hello List Sorry for bordering you again but I've been reading and trying and testing for about 8 hours now and it seems that I'm to stupid to finish this rather simple task (I beliefe). I have a content type and want to give it its own css-File. I created the

Re: [Product-Developers] showing the folder order in a collection?

2011-08-02 Thread Raphael Ritz
On 8/2/11 12:42 AM, ken manheimer wrote: i've wanted for a long time to be able to show the contents of a folder, ordered as they would be in the folder, along with some text describing each item, plus some rich text above describing the folder, as a whole. there is a number of combinations of

Re: [Product-Developers] [plone.app.testing] Weird issue testing a propertysheet

2011-05-24 Thread Raphael Ritz
On 5/24/11 7:54 AM, Andreas Jung wrote: [..] So adding the propertysheet through the fixture seems to work but the properties are not added..no idea whyhowever it works perfectly when I add the add-on through add/remove programs inside Plone site setup. Any idea why this is failing in

Re: [Product-Developers] [ANN] aws.zope2zcmldoc

2011-04-18 Thread Raphael Ritz
On 4/18/11 2:59 PM, Gilles Lenfant wrote: Hello folks, I'm pleased to announce the birth of aws.zope2zcmldoc http://pypi.python.org/pypi/aws.zope2zcmldoc/ https://svn.plone.org/svn/collective/aws.zope2zcmldoc aws.zope2zcmldoc adds a new Zope control panel that shows the doc of the various

Re: [Product-Developers] Is there a way to browse the ZCA machinery?

2011-04-06 Thread Raphael Ritz
On 4/6/11 5:48 AM, Noe Misael Nieto Arroyo wrote: [..] I think this could be a huge win if this existed. Currently you have to know the code quite well and be very handy with grep to know how to traverse who adapts what in a live Plone system. The simpler we can make that for newbies to

Re: [Product-Developers] Add a workflow to some objects

2011-02-28 Thread Raphael Ritz
On 2/28/11 12:25 PM, Gil Forcada wrote: Hi, I've been googling a way to add a workflow to some specific objects, not the whole content type and I ended up to placeful workflows, correct but, correct me if I'm wrong, it is intended for doing certain already existing workflow transitions (or

Re: [Product-Developers] dates with years before 1900: how to implement?

2011-02-28 Thread Raphael Ritz
On 2/28/11 12:41 PM, Kees Hink wrote: For a site with historical references, we're going to store a date on content types. However, Zope's 'DateTime' only supports dates from 1900 [1] whereas the site may refer to a long time before that. It might even be that we have dates where the year is a

Re: [Product-Developers] Folder constraints not applicable to custom content-types

2011-02-28 Thread Raphael Ritz
On 2/28/11 1:35 PM, Andreas Jung wrote: Plone 4.0.3 I have a custom content-types AuthoringPublishedContent (derived from ATDocument). Instances of this type should be created as content of some folder generated by some backend logic (and only there). That's why the content-types is not

Re: [Product-Developers] Folder constraints not applicable to custom content-types

2011-02-28 Thread Raphael Ritz
On 2/28/11 3:23 PM, Andreas Jung wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Raphael Ritz wrote: Not sure I get the full picture but you can only blacklist locally, not white list. Meaning, you can't Allow this type here if it is not allowed in the FTI for the container type. Only

Re: [Product-Developers] Inline Comments in XDV

2011-02-19 Thread Raphael Ritz
On 2/18/11 3:31 PM, Laurence Rowe wrote: Mikko Ohtamaa wrote: Laurence Rowe wrote: Perhaps we could have something like: copy css:theme=#foo filter-comments=true !-- filtered out comment -- /copy Laurence Better! Now we can argue should the default be filter-comments=true or

Re: [Product-Developers] Plone3 logging problem

2011-01-21 Thread Raphael Ritz
On 1/21/11 12:24 PM, mcelotti wrote: I have a product (plone3) that succesfully calls an external webservice to fetch data. I'd like to log some debug info (something like callin method foo() with params ...), but: - if I use logger.debug() then in my buildout I must use event-log-level =

Re: [Product-Developers] How to cleanly remove a product?

2011-01-16 Thread Raphael Ritz
On 1/14/11 10:02 AM, Gil Forcada wrote: Hi, I'm maintaining a website which once used Products.{Ploneboard,PloneGlossary,PloneFormGen} but currently we are no longer using them and thus I would like to remove them from the buildout. I tried all kind of ways without a solution so I'm hoping

Re: [Product-Developers] AJAX

2010-12-17 Thread Raphael Ritz
On 12/16/10 6:25 PM, kthomps17 wrote: So I really thought I had this one, but I was wrong. I get a response from my ajax post, but I get the html of my view. Here's my current POST used to just test if I'm getting what i want: function searchMarkers(center) { var URL =

Re: [Product-Developers] Exporting and importing Plone content uning XML

2010-10-20 Thread Raphael Ritz
Gilles Lenfant wrote: Hi Carsten, Many thanks for this hint. Gonna make a test drive of quintagroup.transmogrifier tomorrow. And, good point, it has plenty of documentation in its Trac site. While that's probably the way to go I've also had good experiences with gsxml

Re: [Product-Developers] Automating releasing eggs that include locales (.po - .mo)?

2010-10-13 Thread Raphael Ritz
Roel Bruggink wrote: What are the options for including .mo files in an egg using jarn.mkrelease or zest.releaser? Vincent Fretin 'forbids' us including .mo files in svn[1], so they must be generated after creating the tag. You mean in addition to the two options mentioned at the link you

Re: [Product-Developers] GroupUserFolder migration

2010-10-02 Thread Raphael Ritz
On 9/30/10 3:29 PM, Mike Metcalfe wrote: Hi, I'm trying to migrate a plone 2.5.2 site to plone 3. GroupUserFolder is installed but I don't see where it is used and I cannot uninstall it (there's no checkbox to select it in portal_quickinstaller). I created a plone 3.3.5 site (without gruf in

Re: [Product-Developers] is it okay to create a new product in the collective.megaphone namespace?

2010-09-21 Thread Raphael Ritz
David Glick wrote: On Sep 20, 2010, at 4:01 AM, Raphael Ritz r.r...@biologie.hu-berlin.de wrote: Kees Hink wrote: In order to use Products.sqlpfgadapter [1] with collective.megaphone, some additional (zcml) setup is needed that i'd like to keep in a separate product. I'd like to use

Re: [Product-Developers] is it okay to create a new product in the collective.megaphone namespace?

2010-09-20 Thread Raphael Ritz
Kees Hink wrote: In order to use Products.sqlpfgadapter [1] with collective.megaphone, some additional (zcml) setup is needed that i'd like to keep in a separate product. I'd like to use the collective.megaphone namespace [2], collective.megaphone.sqlstorage seems a good name for the

Re: [Product-Developers] Workflow transitions not working in Actions Area

2010-09-13 Thread Raphael Ritz
tkuchheuser wrote: Hey, I have a problem getting a custom workflow to work in Plone 4. The workflow has 6 states. After creating the custom content all possible 5 transitions are shown but only two are working. What does working mean in this context? Whenever I click one of the other 3

Re: [Product-Developers] How to restrict ObjPathSourceBinder to current directory

2010-09-13 Thread Raphael Ritz
athomerson wrote: I'm developing a content type in Dexterity and I have a field that is a reference to another Dexterity content type (ISourcedocument) in the same directory. I'm sure this is simple to do, but for some reason I can't figure it out. I'm trying to use

Re: [Product-Developers] programmatically changing views after _createObjectByType

2010-09-10 Thread Raphael Ritz
robej wrote: [..] It is working but...I have 2 questions: 1. Is there a programmatic way for me to change one of the folders I created above (graphics) to use the atct_album_view instead of folder_view? 2. If I create a document inside a created folder, can I make that Page become

Re: [Product-Developers] Can't install RichDocument with policy product

2010-09-06 Thread Raphael Ritz
Daniel Kiedrowski wrote: Hello Mailinglist, I've got another problem with the Martin Aspeli's book Professional Plone Development. I am currently trieng to install RichDocument with my policy product (chapter 7). First I tried it with RichDocument3.0, then with RichDocument3.0.1 now

Re: [Product-Developers] plone.app.jquerytools - overlays of form submit

2010-05-29 Thread Raphael Ritz
Martin Aspeli wrote: Hi, Is this possible with p.a.jquerytools? - A template @@configure has a form that submits to a view @@confirm, with a Buy button. - The @@confirm view has a form with hidden fields carrying the data from @@configure, and a Confirm button - When clicking

Re: [Product-Developers] Member profile permissions

2010-05-19 Thread Raphael Ritz
Mike Metcalfe wrote: [..] The problems: When I try create a subscription instance in the member profile (with at_rename_after_creation = True) I get: The currently logged-in user does not have the bCopy or Move/b permission respective to the object. If I give owner this permission in

Re: [Product-Developers] datagrid alternative solution ?

2010-05-15 Thread Raphael Ritz
Mike Metcalfe wrote: Hi, This is an old post with no reply. I am also looking for DataGridField type functionality (add any number of rows) but I've had bad experiences with them before (data's not cataloged, difficult to validate, etc). I think a good solution would be to have

[Product-Developers] Re: Howto create a page template for a folderish archetype content type?

2010-03-24 Thread Raphael Ritz
Mirto Silvio Busico wrote: Hi all, Hi Mirto, I'm trying to create a custom view for a content type derived from atfolder. Hope you solved this in the meantime but if not and for the archive ... How can I put in the .pt file the data relative to the items contained in the folder? I

[Product-Developers] Re: plone.contentratings for Plone 4

2010-02-11 Thread Raphael Ritz
Kees Hink wrote: While browsing the documentation of contentrating and executing the python code in a ./bin/zopepy shell, i ran into this (README.txt:93): adapted = IUserRating(content) Traceback (most recent call last): File console, line 1, in module TypeError: ('Could not adapt',

[Product-Developers] Re: Transmogrifier and portal_catalog indexing

2010-02-10 Thread Raphael Ritz
Jean Jordaan wrote: if you put it into schemaupdater then you can make it index just the fields that were actually changed Then computed fields that happened to depend on changed fields wouldn't be indexed correctly. (Is that a possible scenario in this case?) The most important computed

[Product-Developers] Re: How to test for product reinstallation

2010-02-02 Thread Raphael Ritz
Shane Graber wrote: I have a couple products that I'm writing that install portlets and custom views for certain content items. Is there a way for me to flag that a product is being re-installed in the install/uninstall routine? The way it's written now, it installs (adding portlets and

[Product-Developers] Re: Smartypants

2010-01-19 Thread Raphael Ritz
Shane Graber wrote: [..] If I remove the byte-order-marker from typogrify_text.py, I get rid of the double header and the errors go away and my page renders properly. I had no idea that the BOM being set on a Script (Python) would do that and that's the *only* thing I changed. Is that a

[Product-Developers] Re: collective.contentlicensing 2.2.0 compatibility with Plone 4.0a3

2010-01-08 Thread Raphael Ritz
jmf wrote: Le vendredi 08 janvier 2010 11:11:34 AM, Graham Perrin a écrit : Graham Perrin wrote: Please: any suggestions on how to make collective.contentlicensing compatible with Plone 4? Hi folks, looking at http://dev.plone.org/collective/browser/collective.contentlicensing it seems

[Product-Developers] Re: Deleted all old unsubmitted products

2009-12-29 Thread Raphael Ritz
Andreas Jung wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jon Stahl wrote: BTW, any stats on the deleted projects (count, average staleness) might be of interest. There were about 120 products that I deleted, all had been created a least a year ago and had never been submitted for

[Product-Developers] Re: PAS error with custom main_template

2009-12-29 Thread Raphael Ritz
Alex Clark wrote: [..] 110 (Pdb) member 'admin' (Pdb) user = pas.getUserById(member) (Pdb) }}} If I switch to the Plone Default theme, everything works fine. Does this ring any bells for anyone? Not the same thing but it reminds me of

[Product-Developers] Re: better than license include other package

2009-12-18 Thread Raphael Ritz
Mikko Ohtamaa wrote: Unless you count imports from Plone namespace as copyright work. That is up to court to decide whether import falls under the threshold of orignality and count as the remix of the orginal work. I assume the existence of precedent cases vary country by country, but generally

[Product-Developers] Re: ZCML-registered template overrules read_permission

2009-12-18 Thread Raphael Ritz
Kees Hink wrote: I have, on an Archetypes content type, a field 'instruction' with 'read_permission = Set own password'. The base_view template respects this and does not show the field to Anonymous users. However, my view class's template does not: The TAL snippet tal:instruction

[Product-Developers] Re: adding products to plone

2009-12-15 Thread Raphael Ritz
Espen Moe-Nilssen wrote: I have three projects that are waiting approval (on plone.org), medialog.fullnamefield, medialog.emailfield and medialog.portlet.sitemap Who should I ping about this ? I just approved all three. Raphael *Espen Moe-Nilssen*

[Product-Developers] Re: From a portal_type to the python class

2009-07-16 Thread Raphael Ritz
Giovanni Toffoli wrote: Hi all, I'm not able to find a clean way to get the class (the class object, not only its name) implementing a portal_type. In the past I followed a dirty approach, based on the portal_types tool and relying on the assumptions that - the name of the class was the

[Product-Developers] Re: How do I manage 'private' objects w/custom wf?

2009-07-14 Thread Raphael Ritz
Alex Clark wrote: Hi all, I've got a product that aims to use workflow to manage state for 'todo item': - http://svn.plone.org/svn/collective/Products.todo/trunk/ I.e. 'done' or 'not done' Works well, but I just noticed that my todo items are all visible to anonymous, how do I fix this?

[Product-Developers] Re: Python content type creation

2009-07-11 Thread Raphael Ritz
Françoise Conil wrote: Looking at ATContentTypes/content/event.py , cmf_edit method has not modification_date or subject parameter. But the strange thing here is that cmf_edit get's called at all. IIRC that's just for backwards compatibility with the old CMF API. Archetypes and ATContentTypes

[Product-Developers] Re: old content import in Plone 3

2009-07-03 Thread Raphael Ritz
francoise wrote: Hello, As I saw a post on content export / import, I posting my current import problem. I am working on migrating content from a Plone 1 site to a Plone 3 site, i am using pickle instead of ini files as I saw Andreas Jung blog [1] after I succeeded in exporting / importing a

[Product-Developers] Re: subclass ATWorkgroup

2009-06-17 Thread Raphael Ritz
cswank wrote: Hello, I am trying to subclass ATWorkgroup. When my __init__: def __init__(self, *args, **kw): super(Vendor, self).__init__(*args, **kw) gets called I get the following error: TypeError: super(type, obj): obj must be an instance or subtype of type Depending on how

[Product-Developers] Re: Post-create update of a reference field

2009-06-12 Thread Raphael Ritz
Andreas Jung wrote: Hi there, following use case: an AT-Event derived content-type contains provides a create sub-event link within its default view. Clicking on the link will create a new event and add the new event to a referencefield within the original event (standard master-slave

[Product-Developers] Re: archgenxml 2.4.1 doesn't generate setup.py

2009-06-03 Thread Raphael Ritz
Mirto Silvio Busico wrote: Mybe I'm very dumb, but: I create the skeleton egg with paster and I don't have any src directory. The command I used in the products directory is: sudo ../bin/paster create -t archetype products.msbgas3 For Zope 2's product magic to apply you need to put your stuff

[Product-Developers] Re: New product collective.idashboard

2009-05-13 Thread Raphael Ritz
JC Brand wrote: Hi all, I have a new product on plone.org that is pending approval. http://plone.org/products/collective.dashboardpimp Could someone please check it out and approve? Done. It would be great if someone could also change to short name (id) to collective.idashboard.

[Product-Developers] Re: approval of product

2009-05-12 Thread Raphael Ritz
Espen Moe-Nilssen wrote: I have a product waiting for approval: http://plone.org/products/medialog.newsitemviews I just approved it. Please cross check the Add the following to your buildout part. I've noted the line where you have an additional namespace ('app') which I think should not be

[Product-Developers] Re: Search and Relational Databases

2009-04-30 Thread Raphael Ritz
cvielma wrote: Hi there again. I followed exactly this article: http://plone.org/documentation/how-to/catalog-anything/view http://plone.org/documentation/how-to/catalog-anything/view and it worked (i mean, it index an example file). but i can't undestand how may i search in Plone and get

[Product-Developers] Re: How to change workflow states on all objects in a container?

2009-03-30 Thread Raphael Ritz
Alex Clark wrote: Hi Alex, On 2009-03-12, Hedley Roos hed...@upfrontsystems.co.za wrote: I would use an event subscriber: subscriber for=Products.todo.content.interfaces.ITodo Products.DCWorkflow.interfaces.IAfterTransitionEvent handler=.events.afterTransitionTodo

[Product-Developers] Re: How to change workflow states on all objects in a container?

2009-03-30 Thread Raphael Ritz
Alex Clark wrote: [..] Strange, though, even if I pass the transition I get the same error: Strange indeed :-( Changing workflow state on /Plone/todo-list/do-stuff/do-this-first from not_done to done. 'not_done' and 'done' are the ids of two states in that workflow, right?

[Product-Developers] Re: GenericSetup, uninstall and propertiestool object

2009-03-11 Thread Raphael Ritz
Francois Barriere wrote: [..] Which hard-codes what should be the original content for the typesUseViewActionInListings list. Is there a way to remove a line from this list and avoid the hard-coded list of what-was-there-before? No. Not that I know of at least. The reason for this is that

[Product-Developers] Re: plain text editor

2009-03-10 Thread Raphael Ritz
Ataulla S H wrote: Dear all, I am trying to provide two text editing functionalities 1) fck editor and 2) pain text area. If I use richtextWidget it will give me the plone default editor (fck), but how can I edit same field using simple textarea.? my use case is I need to provide one

[Product-Developers] Re: setDefaulPage for subcatalog

2009-02-25 Thread Raphael Ritz
Jaroslav Šatkevič wrote: [..] subjectFactory = Factory(Subject, title=_(uCreate new subject)) def subject_added_event(subject, event): Subject processing after creation: add wiki wiki_id = 'wiki' default_text = 'Mano ((batai)) buvo du, vienas dingo, nerandu.' obj =

[Product-Developers] Re: PloneArticle - MyProduct's proxy-field in portal_types but not listed in archetypes_tool

2009-02-25 Thread Raphael Ritz
SimO wrote: Hi guys, CONTEXT: Plone 3.1.7 - PloneArticle 4.1.2 - MyProduct based on PA I need an extra field in PA in order to manage images, attachments, links, MyObjects directly in PA edit tabs, so I created MyProduct which inherits from PA and I added MyProjInnerContentField to it.

[Product-Developers] Re: Programatically only addable content types

2009-02-12 Thread Raphael Ritz
Ricardo Newbery wrote: [Please use replay all to stay on the list so that others with similar issues may benefit] On Feb 11, 2009, at 1:35 PM, Vanderson Mota dos Santos wrote: Well, after the object creation, i call _renameAfterCreation() Don't do that. It also shouldn't be necessary

[Product-Developers] Re: Problems upgrading a large plone2.5 site

2009-02-10 Thread Raphael Ritz
kiorky wrote: Hi, We are trying to update a large plone 2.5 site to plone 3.1. Almost our code is migrated and the Zope instance starts smoothly. But, we have an annoying bug while accessing the plone site throught the ZMI (/manage). All links are broken and point to /manage_worspace which is

[Product-Developers] Re: GenericSetup to control LocallyAllowedTypes and ImmediatelyAllowedTypes

2009-01-28 Thread Raphael Ritz
David Bain wrote: Is it possible to define the Locally and Immediately Allowed Types for a specific Folder (or other folderish type) using Generic Setup Not that I would know or do I have to do it in a setuphandler.py (the way the CMFPlone does it)? I'd think so. Generally, GS doesn't

[Product-Developers] Re: [AT/ImageField] Rescaling images with a fixed width

2009-01-23 Thread Raphael Ritz
Andreas Jung wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, Hi Andreas, I have the following usecase: - an ATImage derived image class contains a field imageClass - for a certain value of 'imageClass' the uploaded original image must be scaled up or down to _fixed

[Product-Developers] Re: [AT/ImageField] Rescaling images with a fixed width

2009-01-23 Thread Raphael Ritz
Andreas Jung wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks for the pointers but I decided to implement the resizing code on top of PIL.Image.resize() with at_post_edit_script() instead of depending on some internal ImageField madness :- Which would just trigger PIL.Image.resize

[Product-Developers] Re: The most efficient way to store 270 AT fields?

2009-01-08 Thread Raphael Ritz
Mikko Ohtamaa wrote: Hi, Hi Mikko, We are facing a problem where we need to store 270 fields per item. The fields are laboratory measurements of a patient - 40 measurement values for 7 timepoint. The fields need to be accessed per timepoint, per measurement and all fields for one patient

[Product-Developers] Re: How do I add an external method to my plone 3 policy product?

2008-10-17 Thread Raphael Ritz
Mark Phillips wrote: [..] Do I have to recreate the entire workflow in a definitions.xml file just to add in these scripts? I am only using the workflows that come with plone 3 and the remember product. Or can the definitions.xml file contain just the changes to the existing plone workflow

[Product-Developers] Re: Mixing member properties into AT-based content/Membrane?

2008-10-17 Thread Raphael Ritz
Andreas Jung wrote: Hi there, Hi Andreas, [..] Within a current project Plone users authenticated against LDAP and member properties like name, address and email should be taken from LDAP (the mapping from LDAP to member properties is not the problem) and being used directly as

[Product-Developers] Re: How do I add an external method to my plone 3 policy product?

2008-10-17 Thread Raphael Ritz
Mark On Fri, Oct 17, 2008 at 4:16 AM, Raphael Ritz [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Mark Phillips wrote: [..] Do I have to recreate the entire workflow in a definitions.xml file just to add in these scripts? I am only using the workflows

[Product-Developers] Re: [GenericSetup] Updating allowed_content_types without redefining it

2008-10-12 Thread Raphael Ritz
Andreas Jung wrote: Hi there, I am writing an extension profile and I need to add a new portal_type to the allowed_content_types property of another portal type (not under my control). Can I add a single value to the allowed_content_types property _without_ redefining all other existing

[Product-Developers] Re: Different NamedVocabulary for each instance of product

2008-10-01 Thread Raphael Ritz
Johannes Schwenk wrote: Hello, I am using archgenxml-2.1 and ArgoUML to design my content type. My system configuration: Plone 3.1.4 CMF 2.1.1 Zope (Zope 2.10.6-final, python 2.4.4, linux2) Python 2.4.4 (#1, Jan 28 2008, 15:57:09) [GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] PIL 1.1.6 I am

[Product-Developers] Re: overrides.zcml in an egg

2008-10-01 Thread Raphael Ritz
Daniel Nouri wrote: Raphael Ritz writes: Hedley Roos wrote: I have a product on pypi (let's call it collective.myproduct) which needs its overrides.zcml to be picked up by Zope, else it does not appear as an extension profile. I can get it to work by adding zcml = collective.myproduct

[Product-Developers] Re: Having wicked enabled content types

2008-09-30 Thread Raphael Ritz
Gilles Lenfant wrote: Okay, 7 days after posting this help request, there's still no reply. Should we consider wicked being an abandonware or something like this... I'd say it's in need for a new owner http://plope.com/Members/chrism/someone_elses_itch I can't resist to note that it is

[Product-Developers] Re: GenericSetup propertiestool.xml and integer properties

2008-09-22 Thread Raphael Ritz
Radim Novotny wrote: Hi, I have propertiestool.xml in my product, which defines custom property sheet. There are several properties of type int. I provide the default values in XML file, but when user changes these values in ZMI (or through my controlpanel) and reinstalls the product in

[Product-Developers] Re: GenericSetup propertiestool.xml and integer properties

2008-09-22 Thread Raphael Ritz
Radim Novotny wrote: Raphael Ritz napsal(a): Radim Novotny wrote: Hi, I have propertiestool.xml in my product, which defines custom property sheet. There are several properties of type int. I provide the default values in XML file, but when user changes these values in ZMI (or through my

[Product-Developers] Re: GenericSetup propertiestool.xml and integer properties

2008-09-22 Thread Raphael Ritz
Maurits van Rees wrote: Raphael Ritz, on 2008-09-22: For similar reasons I sometimes introduce two profiles for an add-on product: one (default) that's safe to be applied again on reinstall and one containing additional settings which should only be applied on first install. The application

[Product-Developers] Re: How to deploy a plone 3 site??

2008-09-02 Thread Raphael Ritz
Mark Phillips wrote: [..] The merging of buildout.cfg files seems to be a very error-prone manual process. Is there a more automated way? I am thinking of Java where one just drops a war file into a servlet container and it all works (most of the time). I wouldn't merge buildout files but

[Product-Developers] Re: Getting multiple profiles to show up in quickinstaller

2008-09-01 Thread Raphael Ritz
David Bain wrote: I've registered two extension profiles in my profiles.zcml. While both of them showup under portal_setup import, only the first one is available via quickinstaller. Is there a way to make both available? No. That's currently unsupported by the quickinstaller. Use

[Product-Developers] Re: How to override an adapter which is already overridden by CMFPlone ?

2008-08-26 Thread Raphael Ritz
Rafael Oliveira wrote: [..] IUserPreferredLanguages has a single method that returns a sequence containing the preferred languages chosen by the user in his browser. I want to replace this adapter in by an implementation that returns always the same language, e.g: [en-us]. This way when a

[Product-Developers] overrides.zcml not picked up by buildout/instance?

2008-08-22 Thread Raphael Ritz
Hi, I feel like I'm not seeing the obvious. In a custom add-on package for Plone I added an overrides.zcml to customize some registrations but it seems to me that re-running buildout doesn't pick up the file. From what I understand the zope2instance recipe should generate an entry in

[Product-Developers] Re: plone.app.z3cform widgets (what, where ...)

2008-08-21 Thread Raphael Ritz
Maurits van Rees wrote: Maurits van Rees, on 2008-08-20: Carsten Senger, on 2008-08-20: From the mails I read about widgets for z3c.form I think the prefered namespace by the z3c.form developers is z3c.formwidget.* To me 'z3c.something' strongly suggests that the package is hosted at

[Product-Developers] Re: [LanguageTool] Switching the language within one request

2008-08-21 Thread Raphael Ritz
Maurits van Rees wrote: [..] In the ZMI in portal_languages switch on option 1: Use language codes in URL path for manual override. This used to be available in the plone control panel, but not anymore since Plone 3. When I then enable English, German and Dutch and add content in the Plone

[Product-Developers] Re: Types don't install, Product appears twice in list

2008-08-18 Thread Raphael Ritz
[EMAIL PROTECTED] wrote: Hi Raphael! Raphael Ritz schrieb: Did you rename your product or have you moved it around on the file system? No, I just changed the version.txt to a higher number. Well yes I moved it from the products directory of Plone 2.5.5 to the product directory in Plone 3.1.4

[Product-Developers] Re: Least invasive way to replace the keywordwidget with the addremovewidget on events

2008-06-26 Thread Raphael Ritz
David Bain wrote: In order to enhance the user experience when categorizing/tagging events, I've chosen to change the default KeywordWidget with the AddRemoveWidget. Initially I tried this with schemaextender, but it had an interesting repercussion. It never made the vocabulary, ie. the list

[Product-Developers] Re: Buildout Builder: Community Server on Popular Plone Configurations

2008-06-05 Thread Raphael Ritz
Tim Knapp wrote: [..] Great work Rob! Is this buildout available online somewhere? svn co https://svn.plone.org/svn/collective/listen/buildouts/p3.1-remember/ you name it (all on one line) Raphael Thanks in advance, Tim -r ___

[Product-Developers] Re: Where does it hurt?

2008-05-19 Thread Raphael Ritz
Reinout van Rees wrote: Michael Hierweck schreef: [..] Up to now I thought statements like render = ViewPageTemplateFile(xyz.pt) __call__ = ViewPageTemplateFile(xyz.pt) as if found them in Plone 3 for Viewlets and Portlets and other resources were good, modern style and best practice.

[Product-Developers] Re: [iw.fss]

2008-05-15 Thread Raphael Ritz
Gilles Lenfant wrote: [..] * Users should **never** rename or move a Plone site with FSS installed. Couldn't you provide an event handler registered for IPloneSite that renames (or copies for easy undo support?) the directory in the file system when a Plone site gets renamed? Raphael

[Product-Developers] Re: kupu base href

2008-05-14 Thread Raphael Ritz
Derek Richardson wrote: I am attempting to rewrite the urls generated by kupu into a different format (I'm moving the content between sites and rearranging in the process and need links to be uuids, not normal hrefs. I'll transform them back into normal hrefs on the other side.). So, I need to

[Product-Developers] Re: can't find kupu_library_tool

2008-05-13 Thread Raphael Ritz
Derek Richardson wrote: zope 2.10.4 plone 3.0.5 getToolByName(ctx, 'kupu_library_tool') gives an Attribute error because it can't find the kupu_library_tool. yet i can see it in my zmi. any ideas why? this code is running in an initialize() for a product. Just for clarification: you mean

[Product-Developers] Re: [GenericSetup] infinite import_stepx.xml loop

2008-05-13 Thread Raphael Ritz
Andreas Jung wrote: Hi, my product A has a profile with one import step within its import_steps.xml. Within this step the product calls installProduct() for several products..this works so far. However I see that the my import step handler is called again infinitely when trying to install

[Product-Developers] Re: buildout with developing eggs without using svn:external

2008-04-12 Thread Raphael Ritz
Dylan Jay wrote: Hi, I have a setup with where I have multiple plone sites on a single zope instance. I control this with two buildout .cfg files, devel.cfg and production.cfg. I keep this under svn and for each site I create a theme as an egg link that into the buildout in svn via

[Product-Developers] Re: LaTeX to XHTML portal transform for Plone

2008-03-07 Thread Raphael Ritz
joshua.r.smith wrote: [..] It would be really helpful if anyone has a suggestion on how I can get started on this project. Like I said, I think I need a portal transform, but maybe there is a better way to accomplish this goal. Its even possible that something that does what I need already

[Product-Developers] Re: r60200 - SimpleAlias/trunk/profiles/default

2008-03-07 Thread Raphael Ritz
Wichert Akkerman wrote: Author: wichert Date: Fri Mar 7 12:56:30 2008 New Revision: 60200 Modified: SimpleAlias/trunk/profiles/default/actions.xml SimpleAlias/trunk/profiles/default/factorytool.xml SimpleAlias/trunk/profiles/default/skins.xml

[Product-Developers] Re: semi n00b-question: how to enable vanilla users the right to add stuff tomy custom folder?

2008-02-20 Thread Raphael Ritz
Per Erik Strandberg wrote: Hi plone product developers list! Hi Per, [interesting to see us starting to communicate via this channel as well ;-)] [..] When I try the sharing tab it does not work. I am deeply annoyed that there is a sharing tab when it has no or only limited effect :(

[Product-Developers] Re: Calling a function on the addition of content to a folderish type

2008-01-27 Thread Raphael Ritz
Jon Stahl wrote: swank wrote: Hello, I need to execute some code whenever a new file is added to my folderish content type. I was looking through the methods that are available from the folder.ATFolder superclass that I might be able to override, but I'm having a difficult time finding one

[Product-Developers] Re: GS profiles and Plone versions

2008-01-17 Thread Raphael Ritz
Héctor Velarde wrote: I just released my first product with support for both Plone 2.5 and Plone 3.0. after some testing I found a small issue that was related with the content type definition declared in the GS profile. it seems to me that in Plone 3.0 this is a little bit different

[Product-Developers] Re: ANN: Customisation tutorial

2008-01-15 Thread Raphael Ritz
Martin Aspeli wrote: Hi all, I've seen some people confused by this (who obviously don't own my book - limi said that's a bug), so I wrote a quick tutorial and demo product showing the main types of filesystem customisation, including the use of plone.browserlayer (which my book doesn't

[Product-Developers] Re: ANN: Customisation tutorial

2008-01-15 Thread Raphael Ritz
Martin Aspeli wrote: [..] No - that's an oversight. Feel free to fix it! Martin Done. Raphael ___ Product-Developers mailing list Product-Developers@lists.plone.org http://lists.plone.org/mailman/listinfo/product-developers

[Product-Developers] Re: After renaming a buildout directory: zope will not start

2008-01-14 Thread Raphael Ritz
Maurits van Rees wrote: Hi, Hi Maurits, thanks for sharing! Raphael Okay, this post started out as a question and then I figured it out as I was writing. But others may run into the same problems so I will post it anyway so your favorite search engine can find it for you when you need

  1   2   >