Question
Show/Hide Links
I am creating an employee site with DWCS3 for my school
district. I am using php with a mysql database. I am not really
skilled in mysql or php. The Tech Serv dept created the database. I
have been able to connect to the employee database with DW and
users can login using the login page I created with DW. Each user
also has an access level, either staff or administrator (admin). I
know that I can restrict access to an administrator page based on
username, password, and access level. However, I have been asked to
not even have the administrator link visible on the index.php page
if a person is not logged in as an administrator. What is wanted is
for an individual to login and if they are at the staff access
level, then they will see all the links to other areas on the
employee site except the link for administrators. If an
administrator logs in, that person will see all the links everyone
else sees and a link - Administrator - and then have access to
those pages as well. I thought this had something to do with
regions, but I can't figure it out. Can anyone explain how I might
do this.
Thank you,
--Linda
Thank you,
--Linda
