FrontEndUsers and CustomContent

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
jimbabwe
Forum Members
Forum Members
Posts: 29
Joined: Sat Nov 18, 2006 8:09 pm

FrontEndUsers and CustomContent

Post 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.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: FrontEndUsers and CustomContent

Post 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.
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.
jimbabwe
Forum Members
Forum Members
Posts: 29
Joined: Sat Nov 18, 2006 8:09 pm

Re: FrontEndUsers and CustomContent

Post by jimbabwe »

Thanks. Worked fine. Case Closed.
Post Reply

Return to “CMSMS Core”