Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...View Profile View Profile
Previous
 
Next
New Post
6/1/2009 3:52 AM
 

HI

I want make link and put it in text html module that enable the logged users to see them profile which mean i want to make the user when log in see module

wrote in it well come (his name)

log out

View profile

if this possible

how can i do that?

 
New Post
6/1/2009 10:34 AM
 

Hi, meeda-
You can use the Text/HTML module for that. 
 
For the welcome message, enable token replacement in your Text/HTML module settings and use one of the following tokens for the name:
  
   [User:FirstName]
   [User:FullName]

   [User:Username]

  
 
For the "Log Out" link simply drop in the same javascipt call that your skin's "Logout" link uses:
 
    ( __doPostBack('dnn$dnnLOGIN$cmdLogin',''))
 
 
You have a couple of choices when it comes to the profile information:

  1. One way is to simply provide a link to the USER module using the following script:
     
       __doPostBack('dnn$dnnUSER$cmdRegister','')
     
  2. A second option is to provide user profile data directly in the Text/HTML module using tokens just as you did for the user's name in the welcome message.  This is especially useful if you want to show profile information in a read-only format.  One list of tokens can be found here:
     
    http://www.dotnetnuke.com/Resources/Knowledge/DotNetNukeOnlineHelp/tabid/787/TID/2761/cid/-1/Default.aspx


Cheers!
-mamlin


esmamlin atxgeek.me
 
New Post
5/11/2010 7:22 AM
 
Hello, I am trying to achieve the same thing (showing an editable user profile on the content pane), but the postback method seems to display a page which loses other modules on other panes by going to some /ctl/profile/.. etc tab. That page seems hard to pin down to something. Is there a way to have the profile displayed where the module actually is and not redirected going somewhere else? Not sure how to use the token method in case I want to let the registered users change their own data; besides, not all the tokens seem to be available in the list indicated (city, street, etc...) Any help appreciated. Thanks, Franco
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...View Profile View Profile


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out