hiding login block was user is logged in???
Permalink
i would like to hide the login block once the user is logged in. how do i do this? thanks in advance.
michael.bruno81@gmail.com
michael.bruno81@gmail.com
also take a look at the guest views addon (free)
thanks so much! where do i put this code? in what file? what directory?
just look at the guest views addon, this is for the login block correct?
if i install the addon will it change anything i currently have on the site?
no it will not, if you want to hide something only for people who are logged in, click on the block then custom templates
it worked well on the log in box, but i tried to use it on a box with 2 a href links and they still show. i set the box the same way as i did the other one. im not sure why it works in one case and not the other. do you know?
I put the code in the default.php file of the theme.
Also, I might add that this forum area is for PHP Developers. Advice on using existing blocks should go in the "Editing with concrete5" I think. If you don't understand the basics of PHP then you are an editor.
Also, I might add that this forum area is for PHP Developers. Advice on using existing blocks should go in the "Editing with concrete5" I think. If you don't understand the basics of PHP then you are an editor.
where in the default.php did you put it?
Thanks... It is very much helped...
It's based on what I discovered in the developer docs so code from the community. I'm using this code and it works nicely.