Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Custom Tags in Tigra menu
vienna
Junior Member

Posts: 2
Registered: 10/25/2006
Member Is Offline
posted on 10/25/2006 at 01:55 PM Reply With Quote
Custom Tags in Tigra menu


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?

Thanks.
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 10/25/2006 at 10:39 PM Reply With Quote

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.
View User's Profile View All Posts By User U2U Member
vienna
Junior Member

Posts: 2
Registered: 10/25/2006
Member Is Offline
posted on 10/26/2006 at 12:40 PM Reply With Quote

Thanks a lot. I'll give it a try.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page Tigra Menu
Product Demonstrations Live Demos:
Traditional Blue
White Steps
Inner HTML
All Together
Frames Targeting
Free Download Free Download
Free Download Menu Builders
Online Builder
Builder for Windows
Product Documentation Documentation:
Documenation Page
Change Log
Menus Comparison Table
Support Forum Support Forum
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004