Webapp not highlighted in navbar
Brought to you by:
ianeboston,
john765367
When you click the webapp on the navbar it doesn't load
the {webapp}_on.gif image.
There are two places that may be the problem. The
first is in webapp/index.dtl. The second line needs to
define a variable called TOOL_{webapp name}. I have
done this by [[VARDEF $TOOL_$TOOLNAME]]yes
[[/VARDEF]], but I'm not sure if this actually does what I
want it to. Once this variable is defined I hope it will
work properly. This will work with navbar/template.dtl.
The other place that may be the problem is
masternavbar.dtl. It has a long list - hard coded - of all
the tools. I couldn't find where or how this was used
and found that navbar/template.dtl seemed to be the
controller, but I could be wrong.
Logged In: YES
user_id=690529
Fixed by changing webapp/index.dtl and
uk/ac/cam/coursework/servlet/WebAppTool.java