Check if User is Logged In

This is a simple php script for Drupal that allows you to check if user is logged in and return a custom link.

I use this mainly to toggle between a login button and a logout button.

This can be embedded directly in your page.tpl.php or any variation of that.

AttachmentSize
check_user_logged_in.txt156 bytes

Recent Websites

Alan Mabry Design : All Access Inc
Alan Mabry Design : Growing Greener Schools Magazine
Alan Mabry Design : Griffin Holdings
Alan Mabry Design : Wokcano Restaurant
Alan Mabry Design : Studio Of Architecture
Alan Mabry Design : Global Private Funding