We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 42042
    • 140 Posts
    Hi all,

    Thanks in advance for taking the time to look at this post!

    The case: For a small sportclub in my town I like to create an area where members of this club can see some personal information. All the members have personal data we now save in Excel sheets, which we want to show to the members. So as a member of the club you have access to an area where you can see some personal data. On the other hand, when a trainer gives a workout he has to fill in the personal data.

    The data: The data people need to see is for example:

    • Condition stats
    • Body fat stats
    • How much tokens they've got left on their voucher
    • Last date they where at a lesson

    The idea: I love Modx, so the best thing would be to build this with Modx. What it could look like in my eyes is I use the user management of the Modx system and create (extra options? Settings?) to store the data in.

    The question: How can I make this happen with Modx?

    I have experience with HTML, CSS, JS and PHP(junior). If someone can give me some tips, great! If this is something that needs real assistance through skype or whatever I'm willing to pay. I am really excited about this project and hope you guys can give me some guidance smiley

    Cheers,Ilja
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Look into BobRay's ClassExtender extra. It will be easy to add extra fields, and to use a snippet to only display the current logged-in user's stats from the front-end.

      http://bobsguides.com/classextender-class.html
      http://bobsguides.com/blog.html/2014/05/27/why-extend-moduser/
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 42042
        • 140 Posts
        Quote from: sottwell at Jun 29, 2015, 05:07 AM
        Look into BobRay's ClassExtender extra. It will be easy to add extra fields, and to use a snippet to only display the current logged-in user's stats from the front-end.

        http://bobsguides.com/classextender-class.html
        http://bobsguides.com/blog.html/2014/05/27/why-extend-moduser/

        Thanks for the fast answer. This seems promising. I do not see how a trainer can submit data to the database, but it looks like that is possible. Thanks so much smiley