Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Permissions on custom HTML blocks - No for unregistered, but yes for users
  • Posted: 17.04.2008, 00:35
     
    dvbell
    rank:
    Freshman Freshman
    registered:
     May 2007
    Status:
    offline
    last visit:
    16.04.08
    Posts:
    5
    I have created two custom HTML blocks. I'll call them block A and block B. Both blocks currently display in the center of the home page for everyone, registered or not.

    I would like to have unregistered users to see ONLY block A. But, when they register or login, I would like them to see ONLY block B.

    I have looked at the info in the Wiki, but the combinations of permissions I have tried have not been successful, so I guess the Wiki isn't quite clear enough for me to master this.

    Any help is greatly appreciated.
  • Posted: 17.04.2008, 07:08
     
    AmmoDump
    rank:
    Team Member Team Member
    registered:
     December 2003
    Status:
    offline
    last visit:
    02.12.08
    Posts:
    2990
    1 Admins .* .* Admin
    ...
    ...
    4 Unregistered HTMLblock:: DaveIsAwesome:: Read
    5 All groups HTMLblock:: DaveIsAwesome:: None
    6 Unregistered HTMLblock:: DaveRocksHarderThanYou:: None
    7 All groups .* .* Read

    So reading from the bottom up:

    All groups can read everything
    - unregistered they cannot read DaveRocksHarderThanYou
    + All groups cannot read about DaveIsAwesome
    - unregistered can read about DaveIsAwesome

    Admin still trumps rule 4 and 5, but you can move those above rule 1, (at your own risk), normally you want admin to be all powerful... but

    --
    David Pahl
    Zikula Support Team

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula