Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Form Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Subscribe Form


Go to End


1926 Views

Avatar
gingercat

Community Member, 7 Posts

25 January 2009 at 9:34am

Edited: 25/01/2009 11:13am

The subscribe form works well and does just about everything I want. I've added a couple of fields to the form which works and the data is saved. My problem is that there is no easy way to edit these extra fields from admin.

I probably need to edit the code for the subscription form & add the fields to the admin page for subscribe form but can't find it anywhere. Or is there another way to edit user info?

Further to this. I've added the following function to the _config.php file

MemberTableField::addMembershipFields( array(
"Nickname" => "Nickname",
"job title" => "job title"
));

It adds the fields to the form in the admin section but they don't appear in the lightbox editor and they also haven't been added to the Member table.

(Yes I have done a db/build)