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.

All other Modules /

Discuss all other Modules here.

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

Newsletter - Adding Form Submission to Mailing List


Go to End


1491 Views

Avatar
Hankins

Community Member, 11 Posts

14 October 2009 at 10:15pm

Hello,

I have implemented the newsletter module(trunk build) in SS2.3.3rc2. I am using the userforms module to create various forms such as a newsletter request page. The problem I am having is creating a form that successfully adds the form information into the newsletter's mailing list. Can someone point me in the right direction. My knowledge of SS & PHP is very limited.

My second question relates to comments in from a feedback form. I would like to create a feedback form that allows users to submit comments about their experiences with the company etc. The functionality I do not know how to implement is requiring approval before the comment is published live on the website.(This goes for the blog module as well) I would like to be able to call a set number of testimonials to various pages such as the home page. For example: I used the following code in my HomePage.php file to pull events from the event module to the homepage:

function UpcomingEvents(){
return DataObject::get_one("Calendar")->upcomingEvents(3);
}

Can this be done if I create a simple testimonial style module such as the one described in the expanding your basic ss site?

Last,
Where is the best source to find out information about creating members for the site? Thank you for any help.

Sincerely,
Matt