Jump to:

11004 Posts in 2735 Topics by 1824 members

All other Modules

SilverStripe Forums » All other Modules » Newsletter: Default subscribe form - only shows checkbox, no other fields

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 1521 Views
  • richard-ward
    Avatar
    Community Member
    31 Posts

    Newsletter: Default subscribe form - only shows checkbox, no other fields Link to this post

    Hi,

    I am at a bit of a loss as to how to make the default newsletter subscription form work. I am running the latest stable release of Silverstripe (2.3.4), the latest release (not trunk) of User Forms module (0.2.0) and the latest release (not trunk) of the newsletter module (0.1.1).

    I have installed it successfully and have the tab in the top of the admin console, this appears to be fine - I can add and delete drafts etc. I also have a page 'Newsletter' under site tree which uses the Subscribe Form page type. This page is being shown on my default page template Page.ss as $Content and $Form. Unfortunately I am only seeing a checkbox for the newsletter and a form submission button, but no other fields to fill in, such as Email address, Name etc. Am I doing something stupid?

    I should add I have browsed the forum thoroughly to try and understand whether I should do anything different and cannot dig up a useful post. I have also read the below pages, but have found them to hold no useful information:

    http://doc.silverstripe.org/doku.php?id=modules:newsletter
    http://doc.silverstripe.org/doku.php?id=newslettersytemhelp&s=newsletter

    Many thanks in advance

    Richard

  • Willr
    Avatar
    Forum Moderator
    5511 Posts

    Re: Newsletter: Default subscribe form - only shows checkbox, no other fields Link to this post

    I don't believe the newsletter subscription form works with userforms 0.2. I know there has been a bit of development in newsletter trunk to get the form working so perhaps try that - It doesn't use userforms anymore. I made some major API changes to the module which prevented the newsletter functionality working.

  • richard-ward
    Avatar
    Community Member
    31 Posts

    Re: Newsletter: Default subscribe form - only shows checkbox, no other fields Link to this post

    Thanks for that.

    I've downloaded the latest trunk build instead: newsletter-trunk-r94580.tar.gz. This helps in that there is now a page type: Subscription Page, which appears to have the fields First Name, Surname, Email etc. Unfortunately the Email field does not show up on the front page. There is a checkbox next to the fields to set which to show on the main page - however, the email checkbox is disabled and unchecked. Any ideas?

    Regards
    Richard

    1521 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.