We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3186 ☆ A M B ☆
    • 279 Posts
    Hi all,

    I followed these tutorial to extend modUser
    http://rtfm.modx.com/display/revolution20/Extending+modUser

    I want to extend modUser because I need some custom tables wich are linked to an user. Creating the extendeduser component and load users with the class-key is no problem. Generation the models also no problem, so far so good.

    However the relationships I have mad into the extUser object doesn’t seem to work.. I did exactly as described in the docs but I always get an empty result when I do $modx->user->getOne(’myObj’); and getMany() is the same result.

    I think I’m doing something wrong but don’t know what. I hope someone of you have experience with it and can give me some tips

    Regards, Bert
      MODX Ambassador (NL) & Professional MODX developer
      Follow me on Twitter | Visit my page on Facebook | View my code on Github | View my script posts
      MODX e-commerce solution SimpleCart