AW: [Zope-CMF] How to LOOK THROUGH acquisition?
Eugene
el-spam at yandex.ru
Wed Sep 1 08:43:31 EDT 2004
Hello, Jens.
> I'm afraid, you're asking the wrong person ... ;-)
> In fact, you're question is related to mine ... and I'm not able to answer
> it.
> Best regards,
> Jens
OK :)
My problem is related to content preparing.
May be you met the next problem.
I want to show in <title> tag not only title of the currently readed
page, but a path to it, e.g.
"President Elections - USA - Last News - www.NewsSite.com"
Here user can see what he (or she) is in the section Last News, then
subsection USA and
article is named "President Elections".
Thank you.
>> 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
>>
>> _______________________________________________
>> 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
>>
> _______________________________________________
> 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