This topic is locked

Adding Links Only For Admin Users

8/17/2009 2:48:25 PM
PHPRunner General questions
C
chinwag author

Hi
I have a user group called 'admins'. They are the only group that can delete records. I am not using dynamic permissions.
This works fine i.e. the 'delete selected' button only appears for 'admins'.
What I want to know is how to add other buttons next to this or simple text links (maybe just to external websites) that only 'admins' can see. In other words, it is a matter of hiding them for everyone else.
As an example can you tell me how I would add a text link to www.asprunner.com that only appears next to the 'delete selected' button for the 'admins' user group?
Thanks.

J
Jane 8/18/2009

Hi,
just add your code inside these tags:

{BEGIN delete_link} {END delete_link}

C
chinwag author 8/18/2009

Hi,

just add your code inside these tags:


Wow that was a little too easy!! thanks <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=43528&image=1&table=forumreplies' class='bbc_emoticon' alt=':(' />