Page 1 of 1

FrontEndUsers and CustomContent

Posted: Fri May 18, 2007 3:56 pm
by jimbabwe
I am using the following code in an attempt to show one piece of content to the group "inventoryaccess".
I have searched the Forum and read many examples.
The example below should work (?). However, the 'else' message "Please log in to view the inventory list" appears whether logged in or not.
I am running 1.0.6 "Niihau", FrontEndUsers 1.2.0, and CustomContent 1.4.6

{cms_module module=FrontEndUsers}
{cms_module module=CustomContent}

Welcome, you are an authorized user.

Please log in to view the inventory list.


Any suggetions? I apologize in advance if this is addressed already in the Forum; I really did search.

Thanks.

Re: FrontEndUsers and CustomContent

Posted: Fri May 18, 2007 5:40 pm
by calguy1000
{if isset($customcontent_memberof_inventoryaccess)}
Welcome, you are an authorized user.
{else}
Please log in to view the inventory list.
{/if}

You don't need the {cms_module module=CustomContent} tag.
and you must mark the page as non cachable, in the options tab.

Re: FrontEndUsers and CustomContent

Posted: Tue Aug 28, 2007 7:46 pm
by jimbabwe
Thanks. Worked fine. Case Closed.