knova15 ๐ Chevereto Fan Dec 9, 2014 #1 Hi How can I make all the buttons hidden on the top bar from none logged in users except login and logo ? Thanks ๐
Hi How can I make all the buttons hidden on the top bar from none logged in users except login and logo ? Thanks ๐
Rodolfo ๐ Chevereto Godlike Chevereto Staff Administrator Dec 9, 2014 #2 PHP: CHV\Login::isLoggedUser()
knova15 ๐ Chevereto Fan Dec 9, 2014 #3 so like this : <?php if(!CHV\Login::isLoggedUser()) { ?> <li data-nav="language" class="phablet-hide phone-hide pop-btn"> <?php // Language selector... i need the buttons to be hidden unless he/she is logged in ๐
so like this : <?php if(!CHV\Login::isLoggedUser()) { ?> <li data-nav="language" class="phablet-hide phone-hide pop-btn"> <?php // Language selector... i need the buttons to be hidden unless he/she is logged in ๐
Rodolfo ๐ Chevereto Godlike Chevereto Staff Administrator Dec 9, 2014 #4 Yes, you can use it like that.
knova15 ๐ Chevereto Fan Dec 9, 2014 #5 probably used it the wrong way but only managed to get blank screens ๐
Rodolfo ๐ Chevereto Godlike Chevereto Staff Administrator Dec 9, 2014 #6 You need to close the if statement...
knova15 ๐ Chevereto Fan Dec 10, 2014 #7 ohh.....ok will have another go later today. for now i just deleted the buttons ๐ but the issue is still on with the images (u know the one your already investigating) but its not so obvious so it should be fine....will send you a screenshoot later ๐
ohh.....ok will have another go later today. for now i just deleted the buttons ๐ but the issue is still on with the images (u know the one your already investigating) but its not so obvious so it should be fine....will send you a screenshoot later ๐