Pages for specific groups

When you create a page in admin->content->pages, you can assign what user group level can view it.



Yet, if you are not in the allowed group, you get a 404.



Would it not be better to present a sign-in for guests (perhaps they satisfy requirements once they login) or a message to those whose membership is lacking that the page is not shown for their level…

Good idea.



I am doing a work-around by using some if statements in my page template.



{if $page.page_id == ‘16’} – to specify a specific page



{if $auth.user_id} – if user is logged in, then I do an {else} and direct them to log in.



I’m sure you can add another if statement for usergroups.

Blocks only for registred users is also a good idea.



I need to make an acess available to an activated block (Admin->Design->Blocks) only for registrated users or a chosen group of users.

[quote name=‘elrosi’]Blocks only for registred users is also a good idea.



I need to make an acess available to an activated block (Admin->Design->Blocks) only for registrated users or a chosen group of users.[/QUOTE]



You can kinda do that by using you own side block wrapper that would be programmed to be blank for certain groups.

You can vote to add usergroup availability to blocks in the Ideas forum:

[url]http://cscart.uservoice.com/forums/40782-general/suggestions/556879-blocks-availability-setting-for-user-groups[/url]



Bob

Has anyone worked out how to do this?