Sometimes, when building a theme for concrete5 you might need to display some text or code that appears when a user is logged in to their site. Here is how you do that:
<?php global $u;
if ($u -> isLoggedIn ()) { ?>
//Do Something
<?php } ?>
Sometimes, when building a theme for concrete5 you might need to display some text or code that appears when a user is logged in to their site. Here is how you do that:
<?php global $u;
if ($u -> isLoggedIn ()) { ?>
//Do Something
<?php } ?>
This is a great blog. Please continue to update, I really enjoy your themes and excellent information. Thanks!
Hey Kevin,
Thanks a lot man – I appreciate it! You’ve got a great site too by the way!
-Chris
Keep it up, I just enjoy reading this website.