We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

trying to detect if user logged in before placing html item. | Forum

Topic location: Forum home » Support » General Questions
Jason
Jason Apr 25 '15
I have <?php if ( OW::getUser()->isAuthenticated() ) ?>

<div>my html stuff </div>

<?php endif; ?>


I am doing this in ow_system_plugins/base/views/components/console.html but it doesn't work? How can I detect if someone is logged in?

dave Leader
dave Apr 26 '15
duplicate post Jason please pick a forum section and only ask one time thanks... :) 


this was answered here 


http://www.oxwall.org/forum/topic/7725

Jason
Jason Apr 26 '15
sorry.