Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » SubscribeForm

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

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

Page: 1
Go to End
Author Topic: 964 Views
  • sarahk
    Avatar
    Community Member
    46 Posts

    SubscribeForm Link to this post

    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

  • sarahk
    Avatar
    Community Member
    46 Posts

    Re: SubscribeForm Link to this post

    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?

    964 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.