• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

dcs68
#1 Posted : Thursday, May 8, 2008 8:44:24 AM(UTC)
dcs68

Rank: Member

Joined: 6/1/2004(UTC)
Posts: 720

Hi, I am wondering how I would force a page break in the repeating section of the confirmation email for printing. Since my repeating section includes barcoded tickets for each ticket ordered, someone may order 5 tickets and the first 2 or 3 would print fine on the first page and then the following one might get cut in half (bottom of page 1, top page 2 etc...)


Any ideas how this might be accomplished?



Thanks,

Derek



Derek Schaaf

http://www.yourticketzone.com

[url=http://www.cmcdds.com][/url]
Matt@9BallDesign
#2 Posted : Thursday, May 8, 2008 10:54:08 AM(UTC)
Matt@9BallDesign

Rank: Member

Joined: 12/23/2003(UTC)
Posts: 909

hey derek, sample styles



1. ID or Class {page-break-after: always}



2. style="page-break-after: always"



Doing this on the fly, I'll try to explain. please test it out.



The call to the repeater section is nested in the table. (I'm working with slightly modified HTML)

Code:

<table border="0" cellspacing="0" cellpadding="3" width="459">
<tr>

<td><strong>Qty</strong></td>

<td><strong>SKU</strong></td>

<td><strong>Product Name</strong></td>

<td align="right"><strong>Unit Price</strong></td>

</tr>

[color=red>[[RepeatingSection]]</FONT>]
&lt;tr&gt;

&lt;td colspan="4"&gt;&lt;hr noshade&gt;&lt;/td&gt;

&lt;/tr&gt;

&lt;/table&gt;

Try a few things, edit the repeater section by adding the page break to the &lt;tr&gt;. I'm not really sure if this good semantic code though.




Code:

&lt;tr style="page-break-after: always"&gt;[/color]
&lt;td align=left valign=top&gt;[[LineItem.Quantity]]&lt;/td&gt;
&lt;td align=left valign=top&gt;[[Product.Sku]]&lt;/td&gt;
&lt;td align=left valign=top&gt;[[Product.ProductName]]&lt;br /&gt;[[LineItem.InputsAndModifiers]]&lt;br /&gt;[[LineItem.ShippingStatus]]&lt;/td&gt;
&lt;td align=right valign=top&gt;[[LineItem.AdjustedPrice]]&lt;/td&gt;
&lt;/tr&gt;

Or try this...modify the call to the repeater section:

Code:


&lt;table border="0" cellspacing="0" cellpadding="3" width="459"&gt;
&lt;tr&gt;

&lt;td&gt;&lt;strong&gt;Qty&lt;/strong&gt;&lt;/td&gt;

&lt;td&gt;&lt;strong&gt;SKU&lt;/strong&gt;&lt;/td&gt;

&lt;td&gt;&lt;strong&gt;Product Name&lt;/strong&gt;&lt;/td&gt;

&lt;td align="right"&gt;&lt;strong&gt;Unit Price&lt;/strong&gt;&lt;/td&gt;

&lt;/tr&gt;

[color=green>&lt;tr&gt;]
<FONT color=red>[[RepeatingSection]][/color]

[color=#ff0000> ]<FONT color=green>&lt;/tr&gt;[/color]

&lt;tr&gt;

&lt;td colspan="4"&gt;&lt;hr noshade&gt;&lt;/td&gt;

&lt;/tr&gt;

&lt;/table&gt;

and make the repeater this:


Code:

[color=green>&lt;table]

&lt;tr&gt;
&lt;td align=left valign=top&gt;[[LineItem.Quantity]]&lt;/td&gt;
&lt;td align=left valign=top&gt;[[Product.Sku]]&lt;/td&gt;
&lt;td align=left valign=top&gt;[[Product.ProductName]]&lt;br /&gt;[[LineItem.InputsAndModifiers]]&lt;br /&gt;[[LineItem.ShippingStatus]]&lt;/td&gt;
&lt;td align=right valign=top&gt;[[LineItem.AdjustedPrice]]&lt;/td&gt;
&lt;/tr&gt;

<FONT color=green>&lt;/table&gt;[/color]
Matt Martell


http://www.9balldesign.com - Web, Print, Graphic


http://www.martellhardware.com/ - Decorative &amp; Builder's Hardware

------------------------------------------------
dcs68
#3 Posted : Thursday, May 8, 2008 12:03:35 PM(UTC)
dcs68

Rank: Member

Joined: 6/1/2004(UTC)
Posts: 720

Thanks Matt! I will give those a shot.....much appreciated.



Derek



Derek Schaaf

http://www.yourticketzone.com

[url=http://www.cmcdds.com][/url]
dcs68
#4 Posted : Wednesday, November 25, 2009 2:28:30 PM(UTC)
dcs68

Rank: Member

Joined: 6/1/2004(UTC)
Posts: 720

Hi Matt,

I have tried this every which way but loose and can't seem to get it to work.....

Can I contact you to get a quote on implementing this?

Thanks,
Derek



Derek Schaaf

http://www.yourticketzone.com

[url=http://www.cmcdds.com][/url]
Aaron
#5 Posted : Wednesday, November 25, 2009 7:02:33 PM(UTC)
Aaron

Rank: Administration

Joined: 4/2/2004(UTC)
Posts: 2,393
United States
Location: Hummelstown, PA

Thanks: 6 times
Was thanked: 163 time(s) in 158 post(s)
It's possible that your email client doesn't support that. Outlook 2007 is notorious for ignoring many CSS rules.
Aaron Sherrick
BV Commerce
Toll-free 888-665-8637 - Int'l +1 717-220-0012
dcs68
#6 Posted : Wednesday, November 25, 2009 8:46:58 PM(UTC)
dcs68

Rank: Member

Joined: 6/1/2004(UTC)
Posts: 720

Thanks Aaron!



Derek Schaaf

http://www.yourticketzone.com

[url=http://www.cmcdds.com][/url]
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012