Cool, but doesn't this have the unfortunate side effect of reversing PARENTS permanently? Wouldn't you want to call reverse() again afterwards? -- Alexander Staubo http://www.mop.no/~alex/ "In the end, we all assume room temperature." --John Maynard Keynes
-----Original Message----- From: root@chmls05.mediaone.net [mailto:root@chmls05.mediaone.net]On Behalf Of Craig Allen Sent: 11. juni 1999 15:13 To: Alexander Staubo Cc: Zope Mailing List (E-mail) Subject: Re: [Zope] Newbie:Navigational bar
Now I'll let the more experienced Zopistas tear this code to pieces and tell you the Right Way. :-) I forget which of the more experienced Zopistas posted the "PARENTS.reverse()" tidbit, but how about: <!--#call "PARENTS.reverse()"--> <!--#in "PARENTS"--> <!--#if "not _['sequence-start']"--> : <!--#/if--> <a href="<!--#var "_['sequence-item'].absolute_url()"-->"> <!--#var "_['sequence-item'].title_or_id()"--></a> <!--#/in-->
And I'll use the rest of your code, thanks. - Craig -- Craig Allen - Managing Partner - Mutual Alchemy Information Architecture - http://alchemy.nu