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