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.

Archive /

Our old forums are still available as a read-only archive.

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

SubscribeForm


Go to End


2 Posts   1222 Views

Avatar
sarahk

Community Member, 46 Posts

10 April 2008 at 12:57pm

This is a standard SilverStripe page type but I have a few questions about its use.

1. Is there any documentation? I couldn't find any...
2. If I need custom fields how do I tell the dbflush to extend the table.
3. When people complete the form how do I get their names into the right mailing list - right now I get to say which mailing list I'd like them to go to... but they don't seem to.

thanks

Sarah

Avatar
sarahk

Community Member, 46 Posts

2 May 2008 at 9:57am

I went to the IRC catchup today hoping to sort this out.

I have 2 newsletter options on my form and when people submit I can't see which one they chose. It's not displayed on the email we get sent or on the submissions page.

The submissions page is soon going to be very long and take ages to load - or does it have pagination or a "limit"?

I've since seen that I can have code like this in my config file

MemberTableField::addMembershipFields(array(
'Address' => 'Address',
'AddressLine2' => 'Address Line 2',
'HomePhone' => 'Home Phone',
'MobilePhone' => 'Mobile Phone',
'City' => 'City',
'Country' => 'Country'
));

Since this is taken from an SS produced module can I take it that this is the right way to extend the table?