by Sibkis
3 replies
In html how do you have your menu change when a user logs in

for example on the landing page you might have About and Contact Us in the menu then when the user logs in those will stay but you will add Profile, Edit Profile and Log out.

How do you do that what is the correct terminology?


Cheers

Sibkis
#changing #menu
  • Profile picture of the author KlikApps
    Originally Posted by Sibkis View Post

    In html how do you have your menu change when a user logs in

    for example on the landing page you might have About and Contact Us in the menu then when the user logs in those will stay but you will add Profile, Edit Profile and Log out.

    How do you do that what is the correct terminology?


    Cheers

    Sibkis
    You'll need to code something in a dynamic language, not HTML. Look into PHP or Javascript - although PHP would be an infinitely better solution.
    {{ DiscussionBoard.errors[2487227].message }}
  • Profile picture of the author futsu
    if you can't use server side programming, use javascript !

    there's tons of script for this
    {{ DiscussionBoard.errors[2487618].message }}
  • Profile picture of the author Tim Brownlaw
    Originally Posted by Sibkis View Post

    In html how do you have your menu change when a user logs in

    for example on the landing page you might have About and Contact Us in the menu then when the user logs in those will stay but you will add Profile, Edit Profile and Log out.

    How do you do that what is the correct terminology?


    Cheers

    Sibkis
    You are talking about a PHP script using MySQL or other DB = database

    To "Add Profile" and "Edit Profile" is little more involved than just changing menus... as this is information that has to be input by the user via a form and stored in a DB.

    Which is something you'll have to delve into or get help with as it's a bit long winded to even begin to explain in here.

    Cheers
    Tim
    {{ DiscussionBoard.errors[2661629].message }}

Trending Topics