Different Menu for different user Group
How to make a Different Menu for different user Group with different template.
How to make a Different Menu for different user Group with different template.
You would need to store the user group in a session variable,
then add all of the menus to the page and put an if statement around the menu.php include line to choose which menu should be used based on the user level session variable. for example, if the user level session variable is named "userLevel" the code to show the menu for User Level 1 would be:
<?php
if(!session_id()) session_start();
if($_SESSION['useLevel'] == 1){
require_once("CSSMenuWriter/cssmw/menu.php");
}
?>
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.