[Zope-CMF] Re: AW: How to disable acquisition?
Malcolm Cleaton
malcolm at jamkit.com
Thu Sep 2 12:18:59 EDT 2004
This does:
<p tal:condition="python:'intro' in here.objectIds()">
Thanks,
Malcolm
On Wed, 01 Sep 2004 14:33:58 +0200, Jens Hauser wrote:
> Hi Andrew,
>
> sorry to ask this newbie question, but: How can I use your solution in that
> case?
>
> This won't work ...
>
> ####CUT
> tal:condition="python: intro in here.contentIds"
> ####CUT
>
> Best regards,
> Jens
>
>
>> -----Ursprüngliche Nachricht-----
>> Von: Andrew Veitch [mailto:andrew at logicalprogression.net]
>> Gesendet: Mittwoch, 1. September 2004 14:00
>> An: Jens Hauser
>> Cc: zope-cmf at lists.zope.org
>> Betreff: Re: [Zope-CMF] How to disable acquisition?
>>
>> Hi Jens
>>
>> here/contentValues will give you the contents of the current location
>> or here/contentIds if you just want the names of the objects.
>>
>> A
>>
>> > This works so far but my problem is, that it looks for a
>> file "intro"
>> > within
>> > a folder AND it's parents. This is not what I want to have.
>> I want the
>> > script only to look into the current folder represented by
>> "here" and
>> > not
>> > into any parents of the actual folder.
>> >
>>
>> --
>> Logical Progression Ltd, 20 Forth Street, Edinburgh EH1 3LH, UK
>> Tel: +44 (0)131 550 3733 Web: http://www.logicalprogression.net/
>>
>>
>
> _______________________________________________
> Zope-CMF maillist - Zope-CMF at lists.zope.org
> http://mail.zope.org/mailman/listinfo/zope-cmf
>
> See http://collector.zope.org/CMF for bug reports and feature requests
--
[] j a m k i t
web solutions for charities
malcolm cleaton
T: 020 7549 0520
F: 020 7490 1152
M: 07986 563852
W: www.jamkit.com
More information about the Zope-CMF
mailing list