[Zope-CMF] How to LOOK THROUGH acquisition?

Eugene el-spam at yandex.ru
Wed Sep 1 08:17:36 EDT 2004


 Hello, Jens.

How can I look througt acquisition process?
For example, I have some folders and attributes in them, I have not
only to take them, but found all of them - if they are overlapping, I
can acquisit only the last. What about the order in which they are
taken?
Can I control this process?

Thanks.

> Hi,

> I would like to disable acquisition "temporarily" to do the following (Plone
> 2, Zope 2.7.x):

> I added the following code snippet to "folder_listing" in custom folder:

> ###CUT
>         <!-- JH: if a document called intro exists, we insert it here -->
>         <div class="stx"
>              tal:condition="exists:here/intro"
>              tal:define="doc nocall:here/intro| nothing"
>              tal:attributes="class
> python:test(doc.text_format=='structured-text', 'stx', 'plain')">
>             <div tal:replace="structure
> python:doc.CookedBody(stx_level=2)"
/>>
>         </div>
> ###CUT

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

> Can anybody tell me how to achieve this?

> best regards,
> Jens

> j.a.m. GmbH
> Computer, Systemberatung, Webhosting, Softwareentwicklung
> Eschersheimer Landstraße 471
> 60431 Frankfurt am Main
> fon (069) 46 09 88 - 13
> fax (069) 46 09 88 - 78
> url http://www.jam-gmbh.de

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



-- 
Cheers,
 Eugene                          mailto:el-spam at yandex.ru



More information about the Zope-CMF mailing list