You should write some code in /navigation/foo.java, so that you
/navigation/foo.vm can be controled. It is just like a screen, you can do
anything you like.
For example:
In java
You can write a context.put("function", 1);
In VM
you can write:
#if (function = 1)
show one picture
#else
show highlighted picture
#end
Regards
fanyun
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Gareth Coltman
Sent: Friday, January 12, 2001 8:58 PM
To: Turbine (E-mail)
Subject: Navigation
Sorry to bug like this, but I am still confused about creating navigation
with Turbine. I was told that I could use layouts to control navigation, by
making use of Default pages. But typically I may want my side nav to be
slightly different on every page. Imagine I wanted the graphical link to the
current page to be highlighted in the side menu for instance. Does this mean
I have to have a layout for every page? This defeats the purpose of layouts
imho.
I have thought about having a $side_navigation_placeholder, but am not sure
how I could implement this.
Please help
Gareth
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]