| Topic: | Permission HELP...only want group to see a block |
|---|---|
|
pdilella
Softmore
Posts: 70 Posted: |
I have created a block that i only want a Group to see and use....how do i do this?......what do i type.....and most importantly.....where does this go in my hierarchy of permissions (that is what confuses me). thanks in advance. Paul |
|
dberansky
Professional
Posts: 746 Posted: |
The exact permission will depend on the block. Can you give us the block's name? Also, post your current permissions, this way we can tell you where this on is supposed to go. |
|
pdilella
Softmore
Posts: 70 Posted: |
it is a HTML block that i found (a nice squirrelmail logon block that i wanted only a special group(my kids) to use)......i have since learned that you cannot put these blocks on the permission list..... i will keep researching this.....i am sure there are hotshot programmers out there who can figure out how to do this.... PostNuke is great! |
|
pdilella
Softmore
Posts: 70 Posted: |
Someone (programmer friend) told me that you cannot use the permission function to prevent anyone from seeing/using an HTML Block like the SquirrelMail Block. Is that true? |
|
dberansky
Professional
Posts: 746 Posted: |
it's impossible to say without looking at the block's code. Where did you download it from? Alternatively, you can try asking the block's author. |
|
pdilella
Softmore
Posts: 70 Posted: |
I downloaded the BLOCK from the postnuke.com website under block downloads.....SquirrelMail Block.....check it out, the code is there. Thanks for responding to the question. Let me know your thoughts after you see the code. |
|
dberansky
Professional
Posts: 746 Posted: |
do you mean this? |
|
pdilella
Softmore
Posts: 70 Posted: |
Yep.....that's it. Nice....works great.....i just don't want most people to see/use it. I want to setup a permission to allow only a certain group i set up to see and use this login block. Thanks again. :P |
|
dberansky
Professional
Posts: 746 Posted: |
Ok, you just need to use the permission schema of Simple File Include block. So something like this should do the job: MailGroup | fincludeblock:: | your_block_title:: | Read All Groups | fincludeblock:: | your_block_title:: | None |
|
pdilella
Softmore
Posts: 70 Posted: |
Will try it tonight and see if it works. Thank you very much.....especially for you super prompt replys. :D |
|
pdilella
Softmore
Posts: 70 Posted: |
Well.....I tried to put the permission in.....and now my site is filled with error messages.....and i cannot use my administration functions...most of them are not working (get basically same error message). I have notified my webhoster to correct the problem....so much for experimenting.... this is really frustrating....how could one permission error screw up all of the admin functions....?.....i thought i placed the permission in the right place....why is this system so unforgiving?...i get the admin page....but most functions don't work....argh!!! |