1
ruggierigm
protected link in main menu
  • 2008/2/14 5:21

  • ruggierigm

  • Just popping in

  • Posts: 34

  • Since: 2004/6/19


I know how to add a link to the template to have it show up in the main menu. Is it possible to make the link respect the access rights of webmaster, anonomous, registered users. I do not want people that are not registered to be able to click on the link and get to the page the url redirects them to.
TIA< Gabriel

2
stefan88
Re: protected link in main menu
  • 2008/2/14 8:13

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Do you hardcode links in template?

You may put them in
<{if $xoops_isuser}>
YOUR LINK HERE
<{/if}>


and the link will be visible only for the logedin users
..

3
ruggierigm
Re: protected link in main menu
  • 2008/2/18 5:32

  • ruggierigm

  • Just popping in

  • Posts: 34

  • Since: 2004/6/19


This worked, thanks for your help.

Login

Who's Online

239 user(s) are online (176 user(s) are browsing Support Forums)


Members: 0


Guests: 239


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits