1
wired2
how to have link in main menu, but must belogged in to access?
  • 2004/11/20 19:51

  • wired2

  • Just popping in

  • Posts: 14

  • Since: 2004/11/12


how to have link in main menu, but must belogged in to access?

does anyone know how to do this?

2
sbkiller
Re: how to have link in main menu, but must belogged in to access?
  • 2004/11/20 20:28

  • sbkiller

  • Just can't stay away

  • Posts: 461

  • Since: 2004/6/9 2


Yup,

meet the pro! lol jk

<{if $xoops_isuser}>

*** 
Put your code here for logged in users to see ***

<{else}> 

*** 
Put your code here for guest users to see ***

<{/if}>

3
wired2
Re: how to have link in main menu, but must belogged in to access?
  • 2004/11/20 20:54

  • wired2

  • Just popping in

  • Posts: 14

  • Since: 2004/11/12


thanks!

not sure where to mod. though. also will this work for single static page module i created.

4
sbkiller
Re: how to have link in main menu, but must belogged in to access?
  • 2004/11/20 20:56

  • sbkiller

  • Just can't stay away

  • Posts: 461

  • Since: 2004/6/9 2


It will work if you have the XOOPS code integrated into your static document, because those code I gave you has to run from the XOOPS Smarty engine.

You can put those code into a theme or into a custom block.

5
wired2
Re: how to have link in main menu, but must belogged in to access?
  • 2004/11/20 21:01

  • wired2

  • Just popping in

  • Posts: 14

  • Since: 2004/11/12


hhmmm... thanks again.. i will play with it.

Login

Who's Online

229 user(s) are online (147 user(s) are browsing Support Forums)


Members: 0


Guests: 229


more...

Donat-O-Meter

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

Latest GitHub Commits