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...Using Modules a...Using Modules a...Member Directory TemplateMember Directory Template
Previous
 
Next
New Post
3/15/2013 8:32 AM
 

I was also running into the same issue (DNN 7.0.3), but the solution mentioned earlier by Daniel Comp did the trick for me:

<span data-bind="text: ProfileProperties().Telephone"> 

Don't forget to copy this into the template and alternating template. Also insert a value in your userprofile. The only struggle is to get the label as prefix in my template though. Only the value of the specific label is visible now.

'TelephoneText' as mentioned earlier by Cathal Connolly doesn't work for me.

Anyone got a solution for this?

 
New Post
5/26/2014 4:37 PM
 

not all of the properties are being pulled successfully .. even in DNN 7.0.3

It would be nice to have tokens here instead of using knockout.js.

 
New Post
5/26/2014 4:41 PM
 

I'm afraid, Cathal, that your comment does not produce accessible profile properties that are accessible.

"visite the profile page and click on my profile, and then do a view source and search for "ProfileViewModel" - you will be able to see the knockout model and read the variable names and values, hopefully that will help identify if you are using the wrong field names"

While I find the right field names, I am still not able to access them. They simply show up as blank, even though the knockout JS has access to their values, it doesn't spit them out in the output code on the page.

I tried to access Biography and the browser says that it doesn't exist as an object.

 
New Post
7/30/2014 5:01 AM
 
LtTawnyMadison wrote:
Oops - sorry for the duplicate posts!

The problem I'm having now is that I can't make the Email field do a "mailto" function. Currently, if you click on the email address (which has a hyperlink), it just refreshes the page I'm on. I don't know how to fix the hyperlink setting; I'm not a coder!

Here is the email code as it is currently:  

  •  

    Here how you can create a mailto link: 

    <li class="mdEmail"><a href="" title="" data-bind="attr: { href: 'mailto:'+ProfileProperties().Publicmail }"><span data-bind="text: ProfileProperties().Publicmail"></span></a></li>

    I create a custom email propriety "Publicmail", as the user email is visible just to admin. if you want to use the user email, replace: "ProfileProperties().Publicmail" by "Email"

     
    New Post
    10/24/2014 4:19 AM
     

    There is a ProfileProperties observeable in the member directory code, returning an array of profile properties. You should be fine with using something like this:

    data-bind="text: ProfileProperties()['Company']"


    Cheers,
    Philipp Becker, Peppertree Solutions
     
    Previous
     
    Next
    HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Member Directory TemplateMember Directory Template


    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