Log in

View Full Version : Letting admins see certain content on a page?


rickasawr
05-21-2011, 02:25 PM
I just needed a little scripting help.

What is the php code for changing the varibles "articlecontent" and "articletitle" for only when admins are veiwing a page?

Thank you very much!

blondbananamix
05-21-2011, 06:09 PM
$admin = true; I'm pretty sure it's that, I was messing around with it on a new page, and it changed the links on my navigation bar to the links you see when you are an admin. :)

rickasawr
05-22-2011, 12:01 PM
Thank you! this helped a bunch!