Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • FarmFreshCode 225 posts 422 karma points
    Jun 13, 2011 @ 19:50
    FarmFreshCode
    0

    Support for Member Types

    I've placed this into my Member Type in hopes of allowing my teachers the ability to add office hours to their public profiles. However I haven't been able to output the data using the Razor example you provided with your script.

    Is this possible? 

    Thanks! & great work!

  • Lennart Stoop 304 posts 830 karma points
    Jun 22, 2011 @ 08:49
    Lennart Stoop
    0

    Hi FarmFresh,

    The razor sample included in the package is based on Model which represents the current page.

    I think it should be possible to access the member's property in razor but I'm not sure which syntax would be appropriate to iterate through the XML as I don't think member properties expose DynamicXml (also not sure if there's a way to converting?)

    If you can't make it work, I'm happy to assist and have a look (although I probably will need to ask the question on the forum myself)

     

    Grtz

    Lennart

  • FarmFreshCode 225 posts 422 karma points
    Jun 22, 2011 @ 13:43
    FarmFreshCode
    0

    Hello Lennart, yeah I think having this feature would be awesome for my members and let them enter their Office Hours for students. I'm afraid that because this is my first .net site, I haven't been too good at troubleshooting stuff on my own. If you have some time to assist me I would be very gratefull.

Please Sign in or register to post replies

Write your reply to:

Draft