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.
FrontEndUsers and CustomContent
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: FrontEndUsers and CustomContent
{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.
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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: FrontEndUsers and CustomContent
Thanks. Worked fine. Case Closed.

