Re: Left block menu visible only for registerd user

[email protected] (Banzai) Wed, 13 Aug 2003 16:34:04 +0000 (UTC)
Newsgroups gmane.comp.cms.xaraya.ui
Organization not organized
Message-ID <[email protected]>
Extension to my question...
I've created a menu item "Edit User Account" in Main Menu (base/menu) .. =
I
want to make the menu item "Edit User Account" to be VISIBLE ONLY to user=
s
logged in. How do I go about ?

Thanks.

Banzai
nb/ jojodee example is to make the BLOCK visible. But I want only a
specific menu item ... not the whole block.

jojodee wrote:

> You can do this with privileges. Create the block - create the privileg=
e -
> assign the privilege.
> Not sure if you are familiar with creating privs for blocks so I put th=
e
> whole lot here as an example!

> 1. Create a new Base/Menu left block and name it what you like eg
> Contribute.
>     -. Add in the links for contribute article etc etc
> 2. Create a new privilege - call it for example DenyContribute with the
> following:
>    - with rights
>   - Realm: All
>   - Module: Base
>   - Component: Block
>   - Level: None (ie they won't be able to see it)
> Then for the block component:
>   - BlockType: menu
>   - Block Title: Contribute (in this case, the name of the block you ga=
ve)
>  - Block ID: well, this will vary - if you just created the block it wi=
ll be
> the highest number.
>    Else, not sure where to get this from except the blocks table in you=
r
> database.
> 3. Next assign it to the role Everybody.
>     - Roles
>     - View all groups
>     -  Click on Show priviledge icon - for the Everybody group
>    -  Down the bottom of the next screen - Assign Privilege to Group
> 'Everybody'
>        Choose the new privledge you created - in this example DenyContr=
ibute


> "Banzai" <[email protected]> wrote in message
> news:[email protected]
> > Hi.
> > I need advise how to make the block menu visible only for registerd u=
sers.
> > eg.
> > http://www.suteraweb.com/perisma
> > the Lefthand side block is empty atm. Once a user logged in, I would =
like
> > the links to Contribute article... etc.. etc.. to appear there.
> >
> > How do I go about ? Does it has to do with privileges? or is it just =
theme
> > driven?
> >
> > Thanks
> >