Re: Left block menu visible only for registerd user
"jojodee" <jojodee-8nna1qhvBBM9QQeoy3GH/[email protected]> Thu, 31 Jul 2003 02:50:28 +0930
| Newsgroups | gmane.comp.cms.xaraya.ui |
|---|---|
| Organization | Xaraya News Server |
| Message-ID | <[email protected]> |
You can do this with privileges. Create the block - create the privilege -
assign the privilege.
Not sure if you are familiar with creating privs for blocks so I put the
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 gave)
- Block ID: well, this will vary - if you just created the block it will be
the highest number.
Else, not sure where to get this from except the blocks table in your
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 DenyContribute
"Banzai" <[email protected]> wrote in message
news:[email protected]
> Hi.
> I need advise how to make the block menu visible only for registerd users.
> 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
>