Page 1 of 1

Some News only for certan members of a Group?

Posted: Fri Jul 20, 2018 11:17 am
by mike12
Hello.
I probably mean some kind of permission. FrontEndUsers is installed. Is there a way to show some News only to logged in members of a specific group?
Greetings mike

Re: Some News only for certan members of a Group?

Posted: Fri Jul 20, 2018 3:14 pm
by DIGI3
There are a number of ways, if you look through the FEU help it lists some of them. Assuming you have a News category called protected, here's some options.

You could use protected page types, and have a page for specific FEU group(s) with:

Code: Select all

{News category=protected}
You could use feu_protect:

Code: Select all

{feu_protect groups="group1,group2,group3"}
  {News category=protected}
{/feu_protect}
You could use {if}:

Code: Select all

{if feu_smarty::is_user_memberof('group1,group2,group3')}
  {News category=protected}
{/if}
Then of course with regular public-facing news, exclude that category with notcategory='protected' or another method.