CS4 Dream Weaver - How to create a menu dynamically

Hi

I would like to know how to create a dynamic menu in Dream Weaver CS4. The requirement is as follows

-All the users of the site should get a default menu  and registered users should get default menu plus some additional menus,when then log in to the site.

Thanks


LVL 1
VINAUSINDAsked:
Who is Participating?
 
Jason C. LevineConnect With a Mentor No oneCommented:
The same menu code appears on all of the pages, you just add an extra check to see if the user is logged in and if so, you display the additional choices.

Something like:

<?php if (isset($_SESSION['whatever']) { ?>

html code for extra menus here

<?php } ?>
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.