Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
theme function : user is logged in ?
#1
I want to test whether the user is currently logged in as the admin, and enable the site template to show various things.

how does one go about this? i tried ,

1. including cookied_functions.php
result : blank page
2. using login_cookie_check()...
result : not available to the theme.
3. reading some obvious global variables like $_COOKIE or $_SESSION...
result : nothing contained there.
Fear is mindkiller, the little death that obliterates.
Reply
#2
I think we can probably add another function to be available to the theme developer inside of theme_functions.php. I will try and get a quick function available for the 2.0 release
- Chris
Thanks for using GetSimple! - Download

Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Reply




Users browsing this thread: 1 Guest(s)