Re: Adding ATTopic to ArguUML/ArchGenXML product.

2007-12-04 Thread Raphael Ritz
Bill Campbell wrote: [..] ##code-section module-header #fill in your manual code here from Products.ATContentTypes.content.topic import ATTopic this is OK ... ##/code-section module-header ... class ... ... allowed_content_types = ['CSFileBox', 'CSRequest', 'ATTopic'] but this

form mailer question

2007-12-04 Thread Espen Moe-Nilssen
I want users to send a form-mailer with a (big) attatchement. Can this be done without sending this file through the plone system/ server (maybe by using an external server or somehow copy it to my ftp-server. Is this possible ?? vennlig hilsen Espen Moe-Nilssen Grieg Medialog A.S

PIL, what can you do

2007-12-04 Thread Espen Moe-Nilssen
As I see that a lot of sites have really bad images I have been thinking about what PIL can do. Is it possible for PIL to do any of this? in case yes, it might be possible to add it to plone (?) 1) change the red-curve (like 5% more red) 2) add contrast 3) sharpen (like sharpen or unsharp

Re: how to not have to put ++resource++ for your skin resources

2007-12-04 Thread Martin Aspeli
David Bain wrote: To answer my own question. It looks like I need register the directories in: profiles/default/skins.xml of my product. That's not a very good idea. If you want to use old-fashioned skin layers, then do that. No-one's stopping you However, making some kind of

Need help with workflow error message

2007-12-04 Thread Mark Phillips
I am using: Plone 2.5.2, CMF-1.6.4, Zope (Zope 2.9.7-final, python 2.4.4, linux2), Five 1.3.8, Python 2.4.4 (#2, Aug 16 2007, 02:03:40) [GCC 4.1.3 20070812 (prerelease) (Debian 4.1.2-15)], PIL 1.1.6 I am modifying a new workflow (changing permissions through the ZMI, but not the stated or

Re: Query: CAS4PAS and PloneCASLogin for Plone 3.0?

2007-12-04 Thread Tarek Ziadé
Hi, I am also interested in those packages. - CAS4PAS: Last time I've talked about it with Lennart, he added a patch and moved it on the collective. (http://svn.plone.org/svn/collective/CAS4PAS) but it won't need any changes for P3 - PloneCASLogin: if you decide to add it on the collective

i18n in Plone 3 products

2007-12-04 Thread Tarek Ziadé
Hello, AFAIK, in plone 3 products, I am going to use the zope 3 way for i18n: - a locales folder with LC_MESSAGES/*.mo for each language (and .po of course) - a i18n:registerTranslations directory=locales/ in the product configure.zcml and drop the usage of PlacelessTranslationService in favor

Re: PIL, what can you do

2007-12-04 Thread Raphael Ritz
Espen Moe-Nilssen wrote: As I see that a lot of sites have really bad images I have been thinking about what PIL can do. Is it possible for PIL to do any of this? in case yes, it might be possible to add it to plone (?) not sure I understand your question but PIL is required/included

Re: how to not have to put ++resource++ for your skin resources

2007-12-04 Thread Tom Lazar
On Dec 4, 2007, at 2:27 PM, Martin Aspeli wrote: David Bain wrote: To answer my own question. It looks like I need register the directories in: profiles/default/skins.xml of my product. Note that you can also use browser:resourceDirectory / to avoid having to register so many

Re: i18n in Plone 3 products

2007-12-04 Thread Reinout van Rees
Tarek Ziadé wrote: Hello, AFAIK, in plone 3 products, I am going to use the zope 3 way for i18n: - a locales folder with LC_MESSAGES/*.mo for each language (and .po of course) - a i18n:registerTranslations directory=locales/ in the product configure.zcml and drop the usage of

Re: i18n in Plone 3 products

2007-12-04 Thread Maurits van Rees
Tarek Ziadé, on 2007-12-04: Hello, AFAIK, in plone 3 products, I am going to use the zope 3 way for i18n: - a locales folder with LC_MESSAGES/*.mo for each language (and .po of course) - a i18n:registerTranslations directory=locales/ in the product configure.zcml Correct. But currently

Re: Archgenxml: Translate action_label

2007-12-04 Thread Johannes Schwenk
Am Montag, 3. Dezember 2007 15:31:58 schrieb Encolpe Degoute: Johannes Schwenk a écrit : Hi there, I would like to know, how I can translate the action_label in a product. Since this is python-code generated by archgenxml I suppose there exists an TD for use with the UML-Modeling-Tool!?

Re: i18n in Plone 3 products

2007-12-04 Thread Tarek Ziadé
Maurits van Rees-3 wrote: Tarek Ziadé, on 2007-12-04: Hello, AFAIK, in plone 3 products, I am going to use the zope 3 way for i18n: - a locales folder with LC_MESSAGES/*.mo for each language (and .po of course) - a i18n:registerTranslations directory=locales/ in the product

Re: Need help with workflow error message

2007-12-04 Thread Mark Phillips
On Tue, 2007-12-04 at 10:48 -0500, Maurits van Rees wrote: Mark Phillips, on 2007-12-04: I am modifying a new workflow (changing permissions through the ZMI, but not the stated or transitions), and I keep getting messages like this - CMFPlone/skins/plone_scripts/getWorkflowHistory:

Re: How do I add fields to the join_form?

2007-12-04 Thread David Bain
May be worth looking into remember http://plone.org/products/remember It is in beta, but has an active community. It allows customization of member properties and by extension, join_form properties. On Dec 4, 2007 12:07 PM, Mark Phillips [EMAIL PROTECTED] wrote: I need to add two fields (1 text

Re: Need help with workflow error message

2007-12-04 Thread Maurits van Rees
Mark Phillips, on 2007-12-04: Thanks. What does it mean - A page/event/document/etc does not have an associated workflow? Can that really happen? Is this just a poor choice of words for the actual exception? At least the most common (and harmless) occurrence of this log message is when the

RE: PIL, what can you do

2007-12-04 Thread Jon Stahl
Espen- PIL's capabilities are documented at: http://www.pythonware.com/library/pil/handbook/ http://www.pythonware.com/library/pil/handbook/imageenhance.htm is likely of interest to you. Short answer: PIL can do quite a bit more than you see it do in Plone. ;-) As Raphael said, -1 for doing

Re: How do I add fields to the join_form?

2007-12-04 Thread Maurits van Rees
Mark Phillips, on 2007-12-04: I need to add two fields (1 text and 1 selection) to the join_form. I also need to add, if possible, a I have read the terms and conditions checkbox and text box with the TOC, if possible. Can anyone point me to an examples or provide some pointers? If you can