Custom field in the Members table.
Hi All,
I have added a custom field to the Members (tl_member) table, as described in
http://www.typolight.org/adding-custom-fields.html
It shows up in "Members" fine, but does not show up as an option to show in the frontend when I make a Members Registration module.
(as per the tutorial I added tl_member.php in the DCA and Language/en folders for tl_member, and added the field in the sql in my module)
Is there something further I need to do to enable this as a signup field, or is this a bug?
Murray.
Re: Custom field in the Members table.
Hi Murray,
did you activate the new fields in the module?
Re: Custom field in the Members table.
No.
By this I take it you mean in the frontend registration module???
The module doesn't allow me to, as it doesn't list the new field in the selection of fields to choose from.
Re: Custom field in the Members table.
Ok then,
do the new fields you added with the dca container have the following setting?
Code:
'eval' => array('feEditable'=>true)
This is how its working with my custom registration fields.
Re: Custom field in the Members table.
Bingo!
Thanks schlauchbagmachine, thats the one. :D
I added the following to get it to also show up in the member_grouped.tpl in the Address section.
Code:
'eval' => array( 'feEditable'=>true, 'feViewable'=>true, 'feGroup'=>'address')