Manage Users" Overview"> Manage Users" Overview" />
We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23034
    • 10 Posts
    (MODx Version 2.1+)

    Hi all,
    within a current project the users are updated/edited on a daily basis with the manager*. What is great is the ability to change things like NAME, FULL NAME, EMAIL, ACTIVE, BLOCKED etc. just with one click without having to save and reload the page. But to change lets say the phone number you have to right click > update user first.

    It seems that you can not add any other columns to that overview. Any ideas how to get around this limitation? (Backend would be fine, but could be frontend, too).

    Thanks for ideas!



    (* We use MODx as a intranet solution and the contactlist/phonelist is a key feature. Sure people can edit their own profiles, but when people leave, get a promotion (they can't change their job title on their own) etc. the human resources team takes care of these changes) - in former times they used google docs and they liked that direct edit feature as it is way faster.
    • Here's a rough MIGX config that loads the modUserProfile class into a MIGX grid on a CMP.

      "Name" and "unique MIGX ID": "migxModUser".
      {"formtabs":[{"MIGX_id":1,"caption":"","print_before_tabs":"0","fields":[{"MIGX_id":1,"field":"fullname","caption":"Vollst\u00e4ndiger Name","description":"","description_is_code":"0","inputTV":"","inputTVtype":"","configs":"","sourceFrom":"config","sources":"[]","inputOptionValues":"","default":""},{"MIGX_id":2,"field":"phone","caption":"Telefon","description":"","description_is_code":"0","inputTV":"","inputTVtype":"","configs":"","sourceFrom":"config","sources":"[]","inputOptionValues":"","default":""}]}],"contextmenus":"update","actionbuttons":"","columnbuttons":"","filters":"[]","extended":{"migx_add":"","formcaption":"","update_win_title":"","win_id":"migxModUser","maxRecords":"","multiple_formtabs":"","extrahandlers":"","packageName":"","classname":"modUserProfile","task":"","getlistsort":"","getlistsortdir":"","use_custom_prefix":"0","prefix":"","grid":"","gridload_mode":1,"check_resid":"0","check_resid_TV":"","join_alias":"","has_jointable":"yes","getlistwhere":"","joins":"","cmpmaincaption":"","cmptabcaption":"","cmptabdescription":"","cmptabcontroller":"","winbuttons":"","onsubmitsuccess":"","submitparams":""},"columns":[{"MIGX_id":1,"header":"Id","dataIndex":"id","width":"","sortable":"false","show_in_grid":1,"renderer":"","clickaction":"","selectorconfig":"","renderoptions":"[]"},{"MIGX_id":2,"header":"Vollst\u00e4ndiger Name","dataIndex":"fullname","width":"","sortable":"false","show_in_grid":1,"renderer":"","clickaction":"","selectorconfig":"","renderoptions":"[]"},{"MIGX_id":3,"header":"Telefon","dataIndex":"phone","width":"","sortable":"false","show_in_grid":1,"renderer":"","clickaction":"","selectorconfig":"","renderoptions":"[]"}]}

      This only loads the class modUserProfile that extends modUser - which I think is good, because with this you can only change non-relevant data like phone, fax, etc. and not data like login or usergroup. Use at your own risk! smiley

      More about MIGXdb, how to add form/grid fields and how to create a menu entry to your CMP:
      http://rtfm.modx.com/extras/revo/migxdb