I want to change the text of one top level menu item from Login to Log Out (depending on whether the user is logged in or not). I want to use custom
tags from my Java developer:
<abc: ifLoggedIn>'LOG OUT'</usa: ifLoggedIn>
<abc: ifLoggedOut>'LOG IN'</usa: ifLoggedOut>
Is it possible to incorporate this?
You can change the text inside the items structure with your server side script. For that move the items structure from menu_items.js into the <script> tag side the main document. Then you can use your server side code to print in the values you need. Alternatively you can have several items files (say menu_items_loggedin.js and menu_items_loggedout.js) and link one of them depending on the status of the user.
Thanks a lot. I'll give it a try.