| OdesÃlatel: AM <list_subscriber@neurobs.com> | my final solution: | | result = [] | url = container.REQUEST.BASE0 | path = context.getPhysicalPath() | for id in path: | if id != '': | url = url + '/' + id | result.append({'id':id,'url':url}) | return result # adjust as appropriate to get your site root | | | Now the only problem is I wanted the titles for these thingies cos ids | cant have spaces..... Hi, try pure DTML solution, what works with virtual webs too: <dtml-in "PARENTS[:-1]" skip_unauthorized
<dtml-if sequence-start><dtml-else <a class="navltop" href="<dtml-var absolute_url>/"><dtml-var title_or_id></a </dtml-if <dtml-if sequence-end><dtml-else <br></dtml-if </dtml-in>
put that DTML Method at ROOT of your Zope web. Regards J. Lukesh