1
richardw
Another tricky question
  • 2005/11/25 12:33

  • richardw

  • Just popping in

  • Posts: 34

  • Since: 2003/4/15


I´m have slightly modified the alumni module for my needs and now I have a tricky question again. This module has a "line" in the admin/creation area called "Extra info" where I can write some info if I want to. If I do that the text shows up on the page otherwise it stays hidden.

What I want to do with this "line" is that the information there should only registered users see. Is it possible to easy do that? Can I write/add something like what you write (sorry for me lack of knowledge) when only admins can se (if admin - or what it stands there) the info.

Hope you understand what I´m looking/asking for.

Thanks

2
Bassman
Re: Another tricky question
  • 2005/11/25 12:40

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


In the html code for where the line is displayed:
Quote:

<{if $xoops_isuser}>
Somthing here
<{else}>
something else
<{/if}>

3
richardw
Re: Another tricky question
  • 2005/11/25 12:48

  • richardw

  • Just popping in

  • Posts: 34

  • Since: 2003/4/15


This is exactly what I was looking for. Thanks thanks and thanks again! I´ll try it and I hope it works. Thanks again.

Login

Who's Online

420 user(s) are online (358 user(s) are browsing Support Forums)


Members: 0


Guests: 420


more...

Donat-O-Meter

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

Latest GitHub Commits