1
franciscohm
Help: How to display user name?

Hi there,

I am not a programmer, however thanks to XOOPS I have been able to build up a very cool intranet site for my company (I am a poor entrepreneur and I have to do everything by myself...).

Now I am integratig some forms into xoops, using the WF-Channel module. I have done several pilots and it works fine. However I need one more thing....

I need to display user's username into the pages I set up (basically because username is a hidden field in every form I need to integrate, therefore I know who submitted the form).

What code should I introduce in order to make the "username" to be displayed?

Thanks very much in advance
Francisco

2
wizanda
Re: Help: How to display user name?
  • 2006/10/6 23:03

  • wizanda

  • Home away from home

  • Posts: 1585

  • Since: 2004/3/21


You can use the smarty_tag:


<{$xoops_uname}>

3
franciscohm
Re: Help: How to display user name?

Thanks very much Wizanda.

However it does not work in my site. It displays "<{$xoops_uname}>" instead of the username.

In the theme and in the modules, smarty tags seem to work. However in every content I generate (HTML blocks, webpages connected via WF-Channel or CJ-Content, etc) it does not work!

I feel I might be missing setting up something in order to make it work. Is it possible?

I am using XOOPS 2.0.15 with the following modules: xLanguage; BackUp; Membership; DMS; WebMail-FX; Smart FAQ; CJay; Statistics; BM Multisurvey; xHelp and WF-Channel

Can anyone help? I think I am close to it!

Thanks
Francisco

Login

Who's Online

201 user(s) are online (123 user(s) are browsing Support Forums)


Members: 0


Guests: 201


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