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 } ?>