AW: AW: [Zope-CMF] How to LOOK THROUGH acquisition?

Jens Hauser hauser at pilsgenuss.de
Wed Sep 1 08:53:51 EDT 2004


Hi Eugene,



> -----Ursprüngliche Nachricht-----
> Von: zope-cmf-bounces at lists.zope.org 
> [mailto:zope-cmf-bounces at lists.zope.org] Im Auftrag von Eugene
> Gesendet: Mittwoch, 1. September 2004 14:44
> An: zope-cmf at zope.org
> Betreff: Re: AW: [Zope-CMF] How to LOOK THROUGH acquisition?

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

Are you using Plone 2? If so, please take a look at the template
"main_template". It calls a macro from "global_pathbar", which shows the
user, at which place he actually is. Does this help you?

Best regards,
Jens


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



More information about the Zope-CMF mailing list