Allow a content block only to be seen by Guests
Permalink 1 user found helpful
I've enabled advanced permissions and I'm trying to set up a content block only visible to Guests. See my settings (screenshot).
This doesn't work.
Does any one know why?
thanks.
This doesn't work.
Does any one know why?
thanks.
Go to the MP and look for guest views and install that, you can't do it with advanced permissions
Sorry didn't read the whole post, what you have to do is make a new template, copy /packages/guest_views/blocks/content/templates to /blocks/templates and apply the custom templates to that file
Also, all users are also in the guest group that's why
It doesn't work
It doesn't work
Thanks for your help!
Still weird that the Concrete5 permissions dialog allows me to make a block readable to guests only, which effectively doesn't work.
@Concrete5: Seems to me that "Guest view only" should be handled by the permissions section and not by custom php code.
If I have a block with 2 custom style templates, I will now have to build 2 extra containing the guest view code.
Basically I'm mixing logic and GUI now.
Still weird that the Concrete5 permissions dialog allows me to make a block readable to guests only, which effectively doesn't work.
@Concrete5: Seems to me that "Guest view only" should be handled by the permissions section and not by custom php code.
If I have a block with 2 custom style templates, I will now have to build 2 extra containing the guest view code.
Basically I'm mixing logic and GUI now.
The problem hat u had was everyone was in th guest group, not just guests. (that's what mnkras was saying)
So is there any way of moving a user out of the Guest group?
(thanks every one for being so responsive :-)
(thanks every one for being so responsive :-)
Still wonder why the setting in my screenshot doesn't work.
I've already ruled out caching problem.