The tray is displayed for anyone who has the Admin permission, which is also
what allows access to the webtop. Just remove that permission from your
customer role and they shouldn't see the tray any more.

Blair

On Thu, Jul 23, 2009 at 9:36 AM, Marco van den Oever <
[email protected]> wrote:

>
> But that hides the menu always? When customers use the website i don't
> want them to see it, when an admin use the website i do want them to
> see it.
>
> So do i have to make a custom "userrole if then" code with:
>
> <cfset request.bHideContextMenu = true />
>
> included?
>
> And put it at top in the types/displayheaderStandard.cfm?
>
> On Jul 23, 1:21 am, modius <[email protected]> wrote:
> > On Jul 23, 9:06 am, Marco van den Oever <[email protected]>
> > wrote:
> >
> > > Customers can use the webtop, but once logged in i don't want them to
> > > be able to see and use the front end admin menu bar, how can i do that?
> >
> > Put this at the top of the view:
> >
> > <!--- deactivate the tray --->
> > <cfset request.bHideContextMenu = true />
> >
> > For example, this is what's been done in this sample code for building
> > an itunes feed -- cos you don't need the tray mucking up your feed :)
> http://docs.farcrycms.org/display/FCDEV50/Sample+iTunes+Feed
> >
> > Hope that helps,
> >
> > -- geoffhttp://wwww.daemon.com.au/
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---

Reply via email to