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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

All other Modules /

Discuss all other Modules here.

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

Getting the newsletter to display right

Go to End



Community Member, 62 Posts

12 June 2010 at 9:42pm

Hello. I've commented on the main support page for Newsletter, stating that in order to get to change the backend area of Newsletter, I had to change some conditional statements from the code.

On a testing installation of Silverstripe.... I switched wherever I saw Database::USE... to DB::USE.... and then the newsletter worked fine with no javascript parse error anywhere.

On second thought, I am wondering if DB:: is originally included in the Silverstripe API, or I could've placed any letters XX:: where Database:: was.

using 2.4 Silverstripe with Newsletter .4

The newsletter works fine until someone fills the subscription page out.
Then they see the following error, and the page still displays:

This page contains the following errors:
error on line 170 at column 7: Opening and ending tag mismatch: br line 0 and div
Below is a rendering of the page up to the first error.

Attached Files