We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22019
    • 390 Posts
    I need my manager users to be able to add certain fields to a user profile - ie use something other than the clunky and horrible extended fields interface. I'm slowly tracing my way through the code but I'm getting a little lost.

    I'm using 2.2.0pl2

    I've made a custom manager theme dir. I've copied across /manager/templates/security/user/create.tpl
    and /manager/controllers/security/user/create.class.php to respective custom directories.

    I've altered create.class.php to call a different widget in the manager. I haven't changed much there yet - but I can see that I am at least in the right area.

    What I can't - for the life of me - work out is where actual 'create the user object' bit of script is. What am I missing?





      Writer > E-consultant > MODx developer || Salesforce || modx 2.x || PHP 5.2.13 || MySQL client 5.0.86
      • 22019
      • 390 Posts
      Because it is a system event... D'oh! So all I needed was a plugin to fire on that event. Not convinced it wouldn't have been better to write a Component to handle this instead - reusing the Login package for manager use. Not sure... Thoughts?
        Writer > E-consultant > MODx developer || Salesforce || modx 2.x || PHP 5.2.13 || MySQL client 5.0.86