Following on from this, I’m wondering if it’s possible to display certain links if non-admin as well as admin users are logged in?
For example, say you have a site where you yourself are the admin, and you have another user who has very low-level access, like read-only.
I’m guessing you can change the variable which in the code above says ‘admin’ == $user_login, but I don’t know what you’d change ‘admin’ to. If your lowlever user’s username is “cabbage”, say, does that mean you’d put in ‘cabbage’ instead of ‘admin’?
But would that mean that the admin user can NOT see the extra links? I guess what you’d want to do is have two variables in there, admin AND cabbage, but I don’t know how to write this in PHP …
Please forgive my dumbness here, but if anyone could help I’d be most grateful!
Regards,
Croila