Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

Inserting Page Break in CBSubs Mailer

  • nphic
  • nphic
  • OFFLINE
  • Posts: 203
  • Thanks: 25
  • Karma: 1
6 months 1 week ago #338355 by nphic
Folks,

I am using CBSubs to generate our monthly invoices to our members. I am using Mailer to send out these invoices. I am using HTML to format the letter and invoice. Page 1st of the Mailer is a letter and the 2nd page is the invoice. I'm trying to insert a page break between the letter and invoice. I want the invoice to start on a new page. The following is the code I have in the Mailer for the page breaks:

<!--
     Page Break
-->
<p style="break-after: page;"> </p>
<p style="break-before: page;"> </p>
<table border="0" style="width: 600px;" cellpadding="0">
    <tbody>

I know there is 2 page break code here, but wanted to see if either one works. Neither one works. The <table> statement is the beginning of the invoice. Any ideas on
how I can get this page break to work in Mailer?

Thanks,
Joe

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48616
  • Thanks: 8302
  • Karma: 1446
6 months 1 week ago #338360 by krileon
Replied by krileon on topic Inserting Page Break in CBSubs Mailer
The TinyMCE editor is probably stripping away empty elements or inline CSS. Check your editor settings if some HTML isn't saving. As for sending we don't alter the emails in any way before sending them so whatever the editor allows should send. HTML in emails is very tricky and basically requires early 2000's era HTML of using table layouts and such with lots of inline CSS. If you're just wanting to add a line break though a <br> tag should work fine.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • nphic
  • nphic
  • OFFLINE
  • Posts: 203
  • Thanks: 25
  • Karma: 1
6 months 6 days ago #338365 by nphic
Replied by nphic on topic Inserting Page Break in CBSubs Mailer
Thanks, Kyle!
 
The following user(s) said Thank You: krileon

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum