User Manager: new feature group edit HOWTO
1) Add column grouptitle:
--------8<--------8<--------8<--------8<--------8<--------
ALTER TABLE wbgroup ADD COLUMN grouptitle VARCHAR(255) NOT NULL DEFAULT "";
UPDATE wbgroup SET grouptitle=groupname;
--------8<--------8<--------8<--------8<--------8<--------
3) Adjust table.xml
You probably want to sort by grouptitle and it is good to define a limit.
--------8<--------8<--------8<--------8<--------8<--------
wbgroup
gidgroupname25grouptitle1
--------8<--------8<--------8<--------8<--------8<--------
3) Adjust userEdit.xml
File: etc-default/user/manager/userEdit.xml
Adjust element "groups" to your needs. Most peolpe do soemthing like:
--------8<--------8<--------8<--------8<--------8<--------
SwitchGroupnoGroupsGroup membership of this useryesfield switchnovaluesTable%s (%s %s)grouptitlegroupnamegid
--------8<--------8<--------8<--------8<--------8<--------
4) Add template files:
template/User/Manager/menu.tmpl
template/User/Manager/groupEdit.tmpl
template/User/Manager/groupEditValid.tmpl
template/User/Manager/groupRm.tmpl
template/User/Manager/groupDeleted.tmpl
template/User/Manager/groupList.tmpl
template/User/Manager/groupList_entry.tmpl
You probably want to include the menu.tmpl in old user*.tmpl files.
--------8<--------8<--------8<--------8<--------8<--------
--------8<--------8<--------8<--------8<--------8<--------
5) Add form defintion
etc-default/user/manager/groupEdit.xml