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

Newsletter Subscription form


Go to End


20 Posts   24835 Views

Avatar
rbarreiros

Community Member, 21 Posts

26 November 2007 at 11:51am

Hello,

During my translation testing and adding new translations on the newsletter, i attempted to create a newsletter subscription form page (on site content) to test the translations on subscribing/unsubscribing etc.

I though the form would be generated automatically, i.e. first, last name, email fields would be created without any user interaction, but they aren't.

What i did:
In Site Content i created a new page of 'Newsletter subscription form' type.
On the form tab, i specified to which newsletter to subscribe to, and the confirmation text.
Saved and published

On live site only the submit button shows up, no form fields.

Is it supposed that the user needs to make the fields ?
If not, must be a bug, already known ?

Best regards,

Avatar
rbarreiros

Community Member, 21 Posts

27 November 2007 at 12:21pm


Please i really need some help in this, as i'm trying to review/add translations to the newsletter part of CMS and i can't test this properly atm.

Best regards,

Avatar
Chris

5 Posts

28 November 2007 at 8:32am

Hi, I've got quite the same problem. Have you create some field ? like as minimum an email field ?

From my side, the newsletter subscribtion form appears but when I'm sending the form, I don't receive any answer and the email is not subscribed ? any idea ?
I check the configuration and everything seems to be ok.

I think there is a small bug in the system. I hope it will be corrected in the final release.

Regards,
Chris

Avatar
rbarreiros

Community Member, 21 Posts

28 November 2007 at 11:21am


Hehehe, the string TODO in SubscribeForm.php gave it away.

Best regards,

Avatar
rbarreiros

Community Member, 21 Posts

29 November 2007 at 7:44am


Thank you normann,

I tried to poke around SubscribeForm.php, trying at least to show the field which should be automatically added to the form, i noticed it was using addWithoutWrite. Tried to use push but, didn't work, also tried to search around how to do it in the source without success.

I guess i'll need to wait for that patch to text/translate the last 'module' i need to, Newsletters.

In the meanwhile i'll try on my spare time to go around file by file checking any string left out to translate.

Best regards,

Avatar
darkowl

Community Member, 12 Posts

30 November 2007 at 2:30pm

Edited: 30/11/2007 2:30pm

So... let's see if I'm understanding this correctly.

There's a whole section of the core CMS for newsletters, and a page type of "newsletter subscription form", but the form is broken and will never work (instead just displaying a "submit" button and nothing more), and adding your own e-mail, first / surname fields will not make it work.

...is that correct? And if so, isn't that a huge oversight..?

If not, how are users supposed to sign up to the newsletter without having to be added by an administrator?

Avatar
Chris

5 Posts

3 December 2007 at 5:04am

Hi all,

yes, that's true darkowl, it is exactly the problem.
I'm a bit surprised that a so basic functionality has not been tested before ?

But I know that many efforts have been done for the silverstripe system. Thanks very much for that.

Kind regards,
Chris

Avatar
Big Al

Community Member, 6 Posts

29 December 2007 at 6:13am

Does anyone have a working Newsletter subscription form?

Go to Top