[Zope] Sidebar menus

Arnaud Lecat lecat@hexanet.fr
Wed, 18 Aug 1999 09:44:37 +0200


Hi

I'm trying to make a simple and fast sidebar menu. For this I've created
a DTML
method at the top with this code
<!--#if sidebar_contents-->
<!--#in sidebar_contents-->
<!--#if sequence-item-->
<!--#var expr="REQUEST.set('sc',
_.string.split(_vars['sequence-item']))"-->
<!--#if expr="PATH_INFO == sc[1]"-->
<strong><!--#var expr="sc[0]"--></strong>
<!#else-->
<A HREF="<!--#var expr="sc[0]"--></A><BR>
<!--#/if-->
<!--#/if-->
<!--#/in-->
<!--#/if sidebar_contents-->

Then I create a property for each folder (?) with this code. The
property contains
a list of string which contains the subdirectory
Services|/services
Infos|/infos

Have I made a mistake coz' it doesn't work :( Perhaps there's allready a
system that exists
in Zope for doing this and I don't know it... Heeeelp

Thanks
--
       >> WinErr: 080 Clavier introuvable - Veuillez appuyer
          sur n'importe quelle touche pour continuer. <<


Arnaud LECAT >> Email: lecat@hexanet.fr >> WWW
page:www.hexanet.fr/~lecat

                    HEXANET >> http://www.hexanet.fr

                Z.A. Farman sud - 9 rue Roland Coffignot
                 BP 415 - 51689 Reims Cedex 2 - France
     phone: (33) 03 26 79 30 05             Fax: (33) 03 26 79 30 06