[Zope-CMF] Checking which version of the CMF is running

2006-10-13 Thread Charlie Clark
there be a standard method of getting a Product's version in Zope.app? I assume there are other Products that have similar dependencies, although I am not sure if the problem is in FSForm itself which does some pretty thoughtless importing. Charlie -- Charlie Clark Helmholtzstr. 20

Re: [Zope-CMF] retrieve contents of Folder

2006-10-22 Thread Charlie Clark
Am 22.10.2006 um 14:55 schrieb fabio gravina: How I can retrieve all Folder's contents??? folder.get_items() perhaps? Please look at the Zope Book and online help Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226

Re: [Zope-CMF] Re: CMF Tests: 12 OK, 1 Failed

2006-10-24 Thread Charlie Clark
(as well as an easy way to check the version... wink) Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope-CMF] [dev] CMF 2.1 dependencies

2006-11-01 Thread Charlie Clark
in advance. Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF

Re: [Zope-CMF] Re: CMF Tests: 3 OK, 2 Failed, 4 Unknown

2006-11-22 Thread Charlie Clark
: Zope 2.9.6 (2006-11-22) Bugs fixed Collector #2191: extended DateTime parser for better support to the ISO8601 specification. -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist

Re: [Zope-CMF] More questions

2006-11-22 Thread Charlie Clark
and TALES but this is when I wish to include a CMF document within another. It's a bit like the news box but for none news items. Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF

Re: [Zope-CMF] Re: Getting started with CMF

2006-11-22 Thread Charlie Clark
and integrating it is CMFCalendar, which is part of the CMF. Just so I understand this properly. The second, right, way of doing this is to move pretty much all the code into the file system? Assuming I just wanted to alter the skins is there a skeleton way to do this? Charlie -- Charlie Clark

Re: [Zope-CMF] More questions

2006-11-22 Thread Charlie Clark
the details though). I'm working with a CMF document so using structure here/mydoc does cause exactly the problems you describe. CookedBody or simpley text also cause problems as the document has non-ascii. I guess I'll have to look at how the news box actually works. Charlie -- Charlie Clark

Re: [Zope-CMF] Re: More questions

2006-11-22 Thread Charlie Clark
Am 22.11.2006 um 17:44 schrieb Raphael Ritz: Charlie Clark schrieb: This is just a quick one: how do I include documents within another document? ie. say I have local_pt which is going has different boxed with text from other documents. I assume I have to call a method on the document

Re: [Zope-CMF] Re: Getting started with CMF

2006-11-24 Thread Charlie Clark
a portal? Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug

Re: [Zope-CMF] Re: Getting started with CMF

2006-11-24 Thread Charlie Clark
be unexpected. Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF

Re: [Zope-CMF] Re: Getting started with CMF

2006-11-24 Thread Charlie Clark
Am 24.11.2006 um 16:26 schrieb Jens Vagelpohl: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 24 Nov 2006, at 16:22, Charlie Clark wrote: I was extrpolating from your previous post about the correct way to do customisation: Or, and this is the more complicated but right way to do

[Zope-CMF] Calendar

2006-11-27 Thread Charlie Clark
Hi, am I right in assuming that the CMF calendar tool does not provide a getNextEvent method? Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF

Re: [Zope-CMF] Calendar

2006-11-27 Thread Charlie Clark
Am 27.11.2006 um 13:52 schrieb Jens Vagelpohl: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27 Nov 2006, at 13:34, Charlie Clark wrote: Hi, am I right in assuming that the CMF calendar tool does not provide a getNextEvent method? No. By the way, grep is your friend, and would

Re: [Zope-CMF] Calendar

2006-11-27 Thread Charlie Clark
Am 27.11.2006 um 14:14 schrieb Charlie Clark: He isn't my friend - my brain has difficulties with the command line %-) but I asked the question after reading the source. I'm working on my own script to do the work but think it might be a good idea to have it in the tool itself. BTW. it's

Re: [Zope-CMF] Calendar

2006-12-04 Thread Charlie Clark
Am 30.11.2006 um 10:29 schrieb Jens Vagelpohl: Hash: SHA1 On 27 Nov 2006, at 17:09, Charlie Clark wrote: If you wish I'd be happy to submit this although I think the changes for unique results and sorting should also be reflected. Feel free to post submissions to the CMF collector where

[Zope-CMF] Internationlisation question

2006-12-04 Thread Charlie Clark
wrong? Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug

Re: [Zope-CMF] Re: [CMF 2.1] FSPageTemplate Unicode

2007-01-07 Thread Charlie Clark
that Product X can be categorised as working with CMF versions 1.6 and 2.0 but perhaps not 2.1. +1 to go ahead with Jens' branch. Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF

[Zope-CMF] Installing a CMF Content Type from scratch

2007-01-08 Thread Charlie Clark
(an install product function in the Plone control panel) which I don't have. I assume I should be able to do everything I need through the portal_types and add a file system directory view for the skins folder. Is this correct? Is anything else required? Charlie -- Charlie Clark Helmholtzstr. 20

Re: [Zope-CMF] Internationlisation question

2007-01-08 Thread Charlie Clark
to Plone? Anyway - what I want to do is have something like 20th January 2007 in some places and 20. Januar 2007 in others on the same site which has no language settings. What is the best way in going about this? Thanks Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel

Re: [Zope-CMF] Re: Installing a CMF Content Type from scratch

2007-01-09 Thread Charlie Clark
', 'permissions': (view_permission,)}, {'id': 'edit', 'name':'Edit', 'action':'flexible_article_edit_form', 'permissions': (edit_permission,)}, ) } Does the __init__.py need extending? Thanks Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel

Re: [Zope-CMF] Re: Installing a CMF Content Type from scratch

2007-01-09 Thread Charlie Clark
example to follow? Thanks Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http

Re: [Zope-CMF] Re: Installing a CMF Content Type from scratch

2007-01-10 Thread Charlie Clark
scripts. Unauthorized: Not authorized to access binding: context for statements like options['title'] = context.Title() I've obviously missed some kind of permission but AddPortalContent and ModifyPortalContent and View but this must be something else. Charlie -- Charlie Clark Helmholtzstr

Re: [Zope-CMF] Re: Installing a CMF Content Type from scratch

2007-01-10 Thread Charlie Clark
Am 10.01.2007 um 12:52 schrieb Charlie Clark: Okay, next problem. Getting an error trying to access the context in the edit_form.py or view.py scripts. Unauthorized: Not authorized to access binding: context Silly me! Always pays to look at the full traceback! 2007-01-10 13:49:45 ERROR

Re: [Zope-CMF] Re: Installing a CMF Content Type from scratch

2007-01-10 Thread Charlie Clark
Am 10.01.2007 um 13:52 schrieb Charlie Clark: So, it is actually the Templates that are being blocked from accessing the context! Unfortunately I do not understand why this should be the case. aaagh! Simple error: the skin was not in the list of skins to be viewed. Do all content-types

[Zope-CMF] Portal users and some other stuff

2007-01-11 Thread Charlie Clark
to customise the member object for my site or to use a plugin? -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope-CMF] Portal users and some other stuff

2007-01-12 Thread Charlie Clark
property (untested off the top of my head). Thanks. Works as expected. Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org

Re: [Zope-CMF] Re: Portal users and some other stuff

2007-01-12 Thread Charlie Clark
that my content-type is sort of working I can afford to give this a go. Does this have dependencies on the current svn trunk or will it work with CMF 2.0? Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226

Re: [Zope-CMF] Portal users and some other stuff

2007-01-15 Thread Charlie Clark
('fullname') is required. Posting to the list for reference purposes. Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org

Re: [Zope-CMF] Portal users and some other stuff

2007-01-16 Thread Charlie Clark
Am 15.01.2007 um 14:55 schrieb Charlie Clark: tal:content=python: mtool.getMemberById(creator).getProperty ('fullname') aagh - this only works if you have permission for getMemberById but I want to globally replace creator, ie. acl_user with fullname in contentByLine. Do I need

Re: [Zope-CMF] Re: Tools as local utilities

2007-02-06 Thread Charlie Clark
especially since the introduction of local Products with Zope 2.7. Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman

Re: [Zope-CMF] Re: Tools as local utilities

2007-02-06 Thread Charlie Clark
Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports

Re: [Zope-CMF] Re: Five's local sitemanager, CMF, etc

2007-02-23 Thread Charlie Clark
-- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature

Re: [Zope-CMF] Re: Derived Content Types WebDAV

2007-03-28 Thread Charlie Clark
get problems is this likely to happen here as well? Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope

[Zope-CMF] Sanitised HTML

2007-04-21 Thread Charlie Clark
for this. Is there a CMF setting for this or which method do I need to overwrite? Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org

Re: [Zope-CMF] Re: Sanitised HTML

2007-04-23 Thread Charlie Clark
is dealing with things for the new release but would it possibly make sense to document the horde of methods in CMF-Default skins? Or am I simply not looking in the right places for information? Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178

Re: [Zope-CMF] Re: Making TypesTool faster

2007-05-04 Thread Charlie Clark
of a component. If you need it in Plone you can add it as a patch. Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo

Re: [Zope-CMF] Re: Making TypesTool faster

2007-05-04 Thread Charlie Clark
it could indeed be improved. Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http

[Zope-CMF] Problem with STX rendering

2007-05-10 Thread Charlie Clark
to the bug is there any CMF setting I can use to avoid this problem? Thanks Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org

[Zope-CMF] Re: Problem with STX rendering

2007-05-11 Thread Charlie Clark
Am 11.05.2007 um 01:09 schrieb Alexander Limi: On Thu, 10 May 2007 07:28:49 -0700, Charlie Clark [EMAIL PROTECTED] wrote: Anyway before I submit a follow-up to the bug is there any CMF setting I can use to avoid this problem? It's a known issue with STX. Thanks, does that mean

Re: [Zope-CMF] Re: Problem with STX rendering

2007-05-11 Thread Charlie Clark
to consider as applications here ;-) Sorry, but I can't see any relation: my post is solely related to content in the ZODB. Anyway doesn't Silva do this (work extremely well with external files) already? Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM

[Zope-CMF] Kupu CMF

2007-05-30 Thread Charlie Clark
I doing wrong? Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org

Re: [Zope-CMF] Re: Kupu CMF

2007-05-30 Thread Charlie Clark
for the existence of a template in a PythonScript? Or check the search path? Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org

[Zope-CMF] Compound documents

2007-06-04 Thread Charlie Clark
CMFDefault.Image to handle the additional attributes but I wonder if there is a way to create a meta-type that would magically bring the two different content types together? Thoughts and tips appreciated as ever. Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360

[Zope-CMF] Adding support for ReST to Document.py

2007-06-11 Thread Charlie Clark
/charlieclark/Sites/cmf/Products/CMFCore/ FSPageTemplate.py, line 39, in ? from Products.PageTemplates.utils import encodingFromXMLPreamble, charsetFromMetaEquiv ImportError: No module named utils Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226

Re: [Zope-CMF] Adding support for ReST to Document.py

2007-06-11 Thread Charlie Clark
Am 11.06.2007 um 17:37 schrieb Charlie Clark: File /Users/charlieclark/Sites/cmf/Products/CMFCore/ FSPageTemplate.py, line 39, in ? from Products.PageTemplates.utils import encodingFromXMLPreamble, charsetFromMetaEquiv ImportError: No module named utils Okay, mea culpa - my version

Re: [Zope-CMF] Adding support for ReST to Document.py

2007-06-11 Thread Charlie Clark
Am 11.06.2007 um 17:46 schrieb Charlie Clark: Am 11.06.2007 um 17:37 schrieb Charlie Clark: File /Users/charlieclark/Sites/cmf/Products/CMFCore/ FSPageTemplate.py, line 39, in ? from Products.PageTemplates.utils import encodingFromXMLPreamble, charsetFromMetaEquiv ImportError

Re: [Zope-CMF] Adding support for ReST to Document.py

2007-06-12 Thread Charlie Clark
Am 11.06.2007 um 21:28 schrieb Jens Vagelpohl: See the very top of CMFDefault/browser/document.py, there's a simple hardcoded structure. Thanks! Now how do I go about testing these views? Do I make the views the default profile? Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D

Re: [Zope-CMF] Adding support for ReST to Document.py

2007-06-12 Thread Charlie Clark
-- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature

Re: [Zope-CMF] Adding support for ReST to Document.py

2007-06-12 Thread Charlie Clark
. Guess it's time to familiarise myself with Zope 3-style testing... Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org

Re: [Zope-CMF] Adding support for ReST to Document.py

2007-06-12 Thread Charlie Clark
Am 12.06.2007 um 10:22 schrieb Charlie Clark: But how do I go about using this in a site rather than skins? To answer my own question: it's easy as adding /@@view.html, etc. to the URL. Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782

Re: [Zope-CMF] Adding support for ReST to Document.py

2007-06-12 Thread Charlie Clark
for the formatting and no errors when tests are run. @@edit.html works as it should if ReST is available. Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF

[Zope-CMF] Fixing STX for non-ascii

2007-06-13 Thread Charlie Clark
is sufficient. However, given my relative inexperience with regexes this could simply be naïvety on my part. If this does indeed work does a patch need submitting for both Zope 2.1x and Zope 3? Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782

Re: [Zope-CMF] Fixing STX for non-ascii

2007-06-13 Thread Charlie Clark
comes of it. Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF

Re: [Zope-CMF] Fixing STX for non-ascii

2007-06-13 Thread Charlie Clark
. Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports

Re: [Zope-CMF] Fixing STX for non-ascii

2007-06-13 Thread Charlie Clark
doesn't work, I get an empty module method. throws up errors for everything so I guess I've got some investigating as to why this is happening. Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226

Re: [Zope-CMF] Fixing STX for non-ascii

2007-06-14 Thread Charlie Clark
Am 13.06.2007 um 22:25 schrieb Charlie Clark: Thanks. Again. For some reason Tres method doesn't work, I get an empty module method. throws up errors for everything so I guess I've got some investigating as to why this is happening. So fixed my errors, written run tests including some

[Zope-CMF] Minor problem with local_pt and non-ascii portal properties

2007-06-21 Thread Charlie Clark
, in do_optTag_tal Module zope.tal.talinterpreter, line 516, in no_tag Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 754, in do_insertStructure_tal UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 207: ordinal not in range(128) -- Charlie Clark

[Zope-CMF] New factory stuff

2007-06-21 Thread Charlie Clark
types or can I insert them in the cmf one? Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See

[Zope-CMF] ICS support for CMF Calendar

2007-06-21 Thread Charlie Clark
in calendar. At least neither Outlook nor iCal seem to mind and will continue to create new events. * is there anywhere I can extract the timezone from apart from the system? * should events come with default alarms? Comments, as always, welcome. Charlie -- Charlie Clark Helmholtzstr. 20

Re: [Zope-CMF] ICS support for CMF Calendar

2007-06-22 Thread Charlie Clark
. Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports

Re: [Zope-CMF] Re: New factory stuff

2007-06-22 Thread Charlie Clark
use your own namespace, you don't have to care about utility names used by other products. That does indeed make sense. Thank you very much! Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226

Re: [Zope-CMF] Re: Minor problem with local_pt and non-ascii portal properties

2007-06-22 Thread Charlie Clark
that don't fit an existing template but this becomes impossible if you can't edit them. Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http

Re: [Zope-CMF] Effective Date inconsistencies

2007-06-23 Thread Charlie Clark
into objects to internationalise them in templates! Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See

Re: [Zope-CMF] Re: Re: Effective Date inconsistencies

2007-06-24 Thread Charlie Clark
quantity and it might make sense to make them portal or content type properties that can be set. However, before any changes are made it would be nice to have a more detailed explanation as to why you need these things. Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211

Re: [Zope-CMF] ICS support for CMF Calendar

2007-06-25 Thread Charlie Clark
Am 22.06.2007 um 11:01 schrieb Charlie Clark: ie. template = context.event_ics_template() template = template % options # or template.substitute(options) Currently using a ZPT. Seems to be working fine. Classic skins have been finished now I need to work on browser view stuff and I haven't

Re: [Zope-CMF] Re: [dev] five.localsitemanager: proposal

2007-06-25 Thread Charlie Clark
deprecation errors I've changed tack and have moved to context.portal_catalog... I've just been through most of the e-mails on this subject and I didn't end up feeling much the wiser except that the idea to move to utilities doesn't seem to be as smooth as initially envisioned. Charlie -- Charlie

Re: [Zope-CMF] Re: [dev] five.localsitemanager: proposal

2007-06-26 Thread Charlie Clark
.) Thanks for the clarification. Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http

[Zope-CMF] Error in CMF-Core

2007-06-27 Thread Charlie Clark
. Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports

Re: [Zope-CMF] Where is getProperty?

2007-06-29 Thread Charlie Clark
Am 29.06.2007 um 10:07 schrieb Charlie Clark: I can't see getProperty defined anywhere. No tests are failing. Hm, I guess I should pay more attention to some e-mails: this is probably related to yuppie's posting that trunk is broken. Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D

Re: [Zope-CMF] Re: Where is getProperty?

2007-06-29 Thread Charlie Clark
.) getProperty should become part of the IPropertiesTool interface and implementation. It should not rely on acquisition. It's coming from the index_html.py script: return context.index_html_template(**decode(options, script)) How should I be wrapping that? Charlie -- Charlie Clark

Re: [Zope-CMF] Re: Where is getProperty?

2007-06-29 Thread Charlie Clark
Am 29.06.2007 um 11:04 schrieb yuppie: You shouldn't, getUtility should. Can you please test the attached patch? It should fix your site manager instance on the fly. Seems to do the trick! Thanks Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM

Re: [Zope-CMF] Re: [dev] tools-as-utilities roadmap

2007-07-17 Thread Charlie Clark
. It returns utilities. 'getUtilityByInterfaceName' would be a much better name for a 'getUtility' replacement used in untrusted code. This makes a lot of sense to me. Did it get included in the last beta or is it roadmap stuff? Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215

[Zope-CMF] Moving to browser views

2007-07-18 Thread Charlie Clark
a browser view. I haven't been able to work this out based on the examples or the Zope 3 book. Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org

Re: [Zope-CMF] Moving to browser views

2007-07-18 Thread Charlie Clark
Am 18.07.2007 um 21:51 schrieb Charlie Clark: 2) how do I pass in values derived specifically for these views? ie. going from options = {} options['name'] = charlie ... return context.mytemplate(**options) Looks like I've solved that: return ViewPageTemplateFile('templates/test.pt')(self

Re: [Zope-CMF] Re: Moving to browser views

2007-07-18 Thread Charlie Clark
self.startdate = self.context.CreationDate() and call this in my template via view/startdate? Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http

Re: [Zope-CMF] Re: Moving to browser views

2007-07-18 Thread Charlie Clark
the book and am working my way through it. It's very good but it didn't cover this in quite the detail I need. Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope

Re: [Zope-CMF] Re: Moving to browser views

2007-07-18 Thread Charlie Clark
the patch. And I'll also have something to talk about at the Rheinland ZUG meeting on Friday! ;-) Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org

Re: [Zope-CMF] Re: Moving to browser views

2007-07-18 Thread Charlie Clark
Am 18.07.2007 um 23:32 schrieb Charlie Clark: Well, I've now got two classes (EventvCalView has to set different headers so I can't see an easy way round this in ZCML) and two different templates. Everything is working fine apart from the content-type is remaining steadfastly text/html

Re: [Zope-CMF] Re: Plone needs a release this week

2007-07-31 Thread Charlie Clark
-- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature

Re: [Zope-CMF] Re: Plone needs a release this week

2007-08-02 Thread Charlie Clark
it to a wiki where we have use cases, problems, etc? What I am personally missing are examples of current gotchas and how they can be resolved. Does http://zope.org/Products/CMF/docs/requirements/proposals/ GenericSetup_architectureflect the current status? Charlie -- Charlie Clark

Re: [Zope-CMF] script to update permissions

2007-08-02 Thread Charlie Clark
be the most manageable. Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http

Re: [Zope-CMF] Re: CMF collector on Launchpad?

2007-08-13 Thread Charlie Clark
. I've not posted or dealt with a great many bugs but have not found the form of the Collector to be a big problem. It's certainly easier to use than Bugzilla. What is often a greater issue is actually tackling bugs that do get submitted. Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf

Re: [Zope-CMF] Design approach questions: unique content-ish items?

2007-09-17 Thread Charlie Clark
think your attempt to add utility methods to such an object is confusing and, therefore, probably wrong. Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF

Re: [Zope-CMF] Design approach questions: unique content-ish items?

2007-09-17 Thread Charlie Clark
the document_view method of any particular document. Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo

Re: [Zope-CMF] Eggification redux

2007-09-25 Thread Charlie Clark
, or other thoughts? While I am very sceptical about the move to eggs (I know it's inevitable) and I hope we can avoid some of the problems that seem to be affecting Grok as a result. Regarding the naming change: this would be consistent with other Zope 3 style changes. Charlie -- Charlie

Re: [Zope-CMF] Known working sets II [was: Eggification redux]

2007-09-25 Thread Charlie Clark
to break existing components with default settings. My experiences suggest that I will be installing from source for a while yet. Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF

[Zope-CMF] Controlling permissions for actions

2007-09-27 Thread Charlie Clark
for it with the Permission Manage portal. It is listed as an action only for managers but is globally available as a URL. Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF

Re: [Zope-CMF] Controlling permissions for actions

2007-09-27 Thread Charlie Clark
such scripts to objects and their methods but I'm still on that learning curve, which is probably not helped by the fact I nearly always store data in an RDBMS and I don't use O/R mappers. Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226

Re: [Zope-CMF] Controlling permissions for actions

2007-09-27 Thread Charlie Clark
first real attempt to implement application logic in the CMF and has been an interesting experience coming from a more classical TTW Zope approach. Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226

Re: [Zope-CMF] Controlling permissions for actions

2007-09-27 Thread Charlie Clark
then restrict. Can you tell me more about metadata? Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See

Re: [Zope-CMF] Move CMF collector to Launchpad (redux)

2007-10-26 Thread Charlie Clark
are strong, we are under no time pressure and might like to see some features added before any migration. Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF

Re: [Zope-CMF] Move CMF collector to Launchpad (redux)

2007-10-27 Thread Charlie Clark
for the choice of bug tracker but given how much we work with our browsers a completely reasonable one. Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF

[Zope-CMF] Accessing the context

2007-10-30 Thread Charlie Clark
object? Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF

Re: [Zope-CMF] Accessing the context

2007-10-30 Thread Charlie Clark
Am 30.10.2007 um 16:19 schrieb robert rottermann: da = getattr('my_da_or_what_ever', context, None) Doesn't that only work within a PythonScript? I need access from within a content type, ie. real Python code? Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211

Re: [Zope-CMF] Accessing the context

2007-10-30 Thread Charlie Clark
, but the context isn't available everywhere. How do I get hold of that? Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org

Re: [Zope-CMF] Accessing the context

2007-10-30 Thread Charlie Clark
() # not working at the moment because DA is None Is it wrong to try and do this in my __init__ ? Regarding your other suggestion: yes, I probably will factor this out into a utility once I've worked out how to access the DA!!! Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel

Re: [Zope-CMF] Accessing the context

2007-10-30 Thread Charlie Clark
): self.id = id self.set_connection() security.declarePublic('set_connection') def set_connection(self): DA = (self, 'myDA', None) This is also not working. :-/ Thanks very much for your help. Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211

Re: [Zope-CMF] Accessing the context

2007-10-30 Thread Charlie Clark
Am 30.10.2007 um 18:13 schrieb robert rottermann: there are two places where you can put your code, in both cases acquisition is fully functional. Thanks very much! Now hit an error that my database connection object can't be pickled but at least I can access it! :-D Charlie -- Charlie

[Zope-CMF] First steps with tools

2007-10-31 Thread Charlie Clark
yet or am I looking in the wrong place? Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See

  1   2   3   >