Re: Re: LU custom fields
| From: | emiliano | Date: | Sat, 21 Jan 2006 17:26:48 +0000 |
| Subject: | Re: Re: LU custom fields | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-22636@lists.php.net to get a copy of this message | ||
Lukas Smith wrote:
Have a look at the admin example 3. Though that example illustrates adding columns to auth it works the same way in the perm container. If you have problems please provide the config array you created along with the code. regards, Lukas Thank you for the help.I looked the example 3 many times but It seems I did not "get in" in the spirit of LU :)Now it works with this config: 'permContainer' => array(
'type' => 'Complex',
'storage' => array('DB' => array(
'connection' => & $db,
'prefix' => $_CRM['db']['prefix'] .'_lu_',
'fields' => array(
'user_label' => 'text'
),
'alias' => array(
'user_label' => 'user_label'
),
'tables' => array(
'perm_users' => array(
'fields' => array(
'user_label' => false
),
),
),
)
),
)
thanks.
Emiliano