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: parameters in menu urls
janbear
Junior Member

Posts: 2
Registered: 2/21/2003
Member Is Offline
posted on 2/21/2003 at 04:03 AM Reply With Quote
parameters in menu urls


How to I add ?username=$username
to each url.

In short how do I tell the menu items file
the value of $username and how do I append it each url.

Thx .... New at Java
View User's Profile View All Posts By User U2U Member
nik


Posts:
Registered: 1/1/1970
Member Is Offline
posted on 2/21/2003 at 07:58 AM Reply With Quote

You have to build menu hierarchy descriptional file dynamically on server side. To do so rename appropriate file (items.js or menu_items.js) to the one with extention you need: items.php, for example. And then you can write any server-parsed code there.
View User's Profile View All Posts By User U2U Member
janbear
Junior Member

Posts: 2
Registered: 2/21/2003
Member Is Offline
posted on 2/25/2003 at 02:47 AM Reply With Quote

Thx Nik.

One more problem.
I use cgi which looks for an http header for the script to execute properly.

Can I modify the items.js to run a function with the value of $username as input and then create var MENU_ITEMS ?
If yes, are they any tutotials that explain
such a process?

Thx
View User's Profile View All Posts By User U2U Member
nik


Posts:
Registered: 1/1/1970
Member Is Offline
posted on 2/25/2003 at 08:10 AM Reply With Quote

Sure, you can modify items.js in a way you need it. It is possible to generate MENU_ITEMS variable depending on any input parameters. The only thing Tigra Menu needs from items.js is correct declaration of items hierarchy, and it does not care of how you build this declaration on a server side. So I think you should just read some Perl (CGI) tutorials.
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
 
Tigra Menu PRO
Product Demonstrations Live Demos
Alignment & Multimenus
Unlimited Depth
Item sizing and positioning
Inner HTML
Frames, Targeting
Static Positioning
Free Download Menu Builders
Online Builder
Product Documentation Documentation
Documenation Page
Tigra Menu PRO FAQ
Change Log
Menus Comparison Table
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 
Product Page Tigra Menu GOLD
Functionality demos Functionality demos
Multiple
Cross-framed
Select-boxes
Effects
Design demos Design demos
Icons & arrows
Idea!
Hi there!
Matrix
MS Style
XP Style
Dots
3D-Buttons
Product Documentation Documentation
Documenation Page
Change Log
Menus Comparison Table
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


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