AW: [Zope-CMF] How to disable acquisition?

Jens Hauser hauser at pilsgenuss.de
Wed Sep 1 08:33:58 EDT 2004


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/
> 
> 



More information about the Zope-CMF mailing list