Some News only for certan members of a Group?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
mike12
New Member
New Member
Posts: 3
Joined: Fri Jun 29, 2018 5:25 am

Some News only for certan members of a Group?

Post 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
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1609
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

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

Post 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.
Not getting the answer you need? CMSMS support options
Post Reply

Return to “CMSMS Core”