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

    Currently WebLoginPE and the default Modx Web User module are set up to use a "Full Name" field.

    What is the best solution to setup 2 fields: "First Name" and "Last Name"?

    From a user management point of view is there a module that will show additional information(custopm fields) in the Web User Area?

    Thank you

      • 1892
      • 82 Posts
      I think for what you are asking for - everything is already built into webLoginPE.

      For the "first name" and "last name" you can use customtable and customfields in your webloginpe call.

      As long as you include the customtable and customfield in the webLogonPE call for then you can define your own template using the custonm fields just like any of the other webLoginPE fields.

      For example I have a resource for displaying the user profile - using a custom template ’memProfile’
      <p>[!WebLoginPE?
      &type=`profile`
      &profileTpl=`memProfile`
      &customTable=`group_members` 
      &customFields=`memNumber,surname,initial`
      !]</p>


      Then in the template I can use
      <p> Your Membership number is [+user.memNumber+]</p>

      To print out a person’s membership number from the customTable.

      Does that help?

      Adrian
        • 5340
        • 1,624 Posts
        Thank you.