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 to
Am 12.01.2007 um 10:13 schrieb Jens Vagelpohl:
All you need to do is to add the desired property to the list of
properties in the member data tool, and then extend the preferences
form and its handlers with your new property (untested off the top
of my head).
FWIW
while that is really
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 11 Jan 2007, at 23:28, Charlie Clark wrote:
For the necessary forms, at least based on the CMF Event code, it
seems to me that code like
options['title'] = form.get('title', context.Title())
options['text'] = form.get('text', context.text)
Am 12.01.2007 um 10:13 schrieb Jens Vagelpohl:
That's a matter of taste. I like explicit, so I prefer the existing
method.
Explicit is better than implicit but I don't see what's wrong with
having an explicit list of fields through which to loop, as long as
the call is the same as this
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 12 Jan 2007, at 12:26, Charlie Clark wrote:
Am 12.01.2007 um 10:13 schrieb Jens Vagelpohl:
That's a matter of taste. I like explicit, so I prefer the
existing method.
Explicit is better than implicit but I don't see what's wrong with
Hi,
my shiny new content type is now working pretty much as expected.
Thanks to Tres and Jens for pointing me in the right direction and
giving me encouraging nudges.
For the necessary forms, at least based on the CMF Event code, it
seems to me that code like
options['title'] =