[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zope-cmf
Subject:    [Zope-CMF] Actions Tool
From:       "Jon Edwards" <jon () pcgs ! freeserve ! co ! uk>
Date:       2001-08-30 14:48:16
[Download RAW message or body]

Marc wrote :

>> From: Chris Withers <chrisw@nipltd.com>
>>
>> How are people generally tackling the problem of 'navigation bars'?
>
> Uh... ugly hacks?  :)

Ditto, except a separate method from the Actions_Box (as only our editors
see that). Just a dtml-in of the parentfolder with some extra criteria.

But the recent post about using "path" in a catalog-query seemed a better
solution, as you can define criteria better in a search than a dtml-in?
Something like (pseudocode - haven't tried this yet)...

<dtml-let current_path=relative_url>
<dtml-in "portal_catalog.searchResults(path={'query'=current_path,
level=1})">
<a href=..............
</dtml-in>
</dtml-let>

HTH

Cheers, Jon



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic