Jump to:

10993 Posts in 2727 Topics by 1818 members

All other Modules

SilverStripe Forums » All other Modules » Getting the newsletter to display right

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 593 Views
  • Graphicator
    Avatar
    Community Member
    62 Posts

    Getting the newsletter to display right Link to this post

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