Making It So Only Admins Can See "certain code"...

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Making It So Only Admins Can See "certain code"...
slicer
CZ Newbie
slicer has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Sep 18, 2004
0.00 posts per day
Posts: 14
Points: 1,404
   
can anyone explain how to make it so that only admins can see certain code in a block or module?

for instance i have a nav block, want to add a link to admin places in it, but for security reasons i only want admins able to see the links, that sort of thing...



Thanks for your time,
-slicer



Back to top Reply with quote
#2   re: Making It So Only Admins Can See "certain code"
dkwds
CZ Active Member
dkwds has been a member for over 20 year's 20 Year Member
uk.gif
Occupation: Student
Age: 38
Gender: Male
Website:
Status: Offline
Joined: Jul 29, 2004
0.04 posts per day
Posts: 282
Points: 12,713
   
you could make a block which is only visible to admins and place your links in it. You can adjust to who the block is visible in the blocks admin section.




_________________
Back to top Reply with quote
#3   re: Making It So Only Admins Can See "certain code"
slicer
CZ Newbie
slicer has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Sep 18, 2004
0.00 posts per day
Posts: 14
Points: 1,404
   
is there any way to do it inside the block, so that only a certain part of the block is admin only?



Back to top Reply with quote
#4   
xxl_martin_lxx
CZ Active Member
xxl_martin_lxx has been a member for over 20 year's 20 Year Member
uk.gif
Age: 33
Gender: Male
Fav. Sports Team: Aldershot Town FC (English Conference)
Website:
Status: Offline
Joined: Aug 09, 2004
0.03 posts per day
Posts: 207
Points: 9,481
   
Put what you want your admins to see in a new block..then change the Who can view this to Admin only...



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum