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

Notification

Icon
Error

[email protected]
#1 Posted : Thursday, September 13, 2007 11:16:02 PM(UTC)
bobn@laurastamm.net

Rank: Member

Joined: 6/6/2005(UTC)
Posts: 483

There is an "Email this Page" and "Print this Page" button on the BV 2004 Layout product template. I would like to add at least the "Email this Page" button to the BV5 product template and if possible to a Custom Page as well.

Any idea on what Code I should put where to make this work?

Thanks

Bob Noble
davebar000
#2 Posted : Friday, September 14, 2007 11:40:42 AM(UTC)
davebar000

Rank: Member

Joined: 12/30/2006(UTC)
Posts: 65

I would love that myself.
The Email option is an important viral method for marketing the products on our sites.

-Dave
[email protected]
#3 Posted : Monday, September 17, 2007 3:26:59 PM(UTC)
everett@bvsoftware.com

Rank: Member

Joined: 3/8/2007(UTC)
Posts: 139

Hi Bob and Dave,

To add these controls to another page all that you have to do is drop in the controls like so:

At the top of the page where the controls are registered add the following:

<%@ Register Src="../../Controls/PrintThisPage.ascx" TagName="PrintThisPage" TagPrefix="uc1" %>
<%@ Register Src="../../Controls/EmailThisPage.ascx" TagName="EmailThisPage" TagPrefix="uc7" %>

In the body of the page add the controls:

<uc7:EmailThisPage ID="EmailThisPage1" runat="server" />
<uc1:PrintThisPage ID="PrintThisPage2" runat="server" />

You may need to modify the number of the control so that it does not conflict with another control on the page (ie. - uc7 may need to be uc15).

Thanks,
Everett Comstock

BV Software
Andy Miller
#4 Posted : Monday, September 17, 2007 4:04:13 PM(UTC)
Andy Miller

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 2,136

Was thanked: 1 time(s) in 1 post(s)
TagPrefix does not need to be unique, but the combination of TagPrefix and TagName must be unique. For example,

Allowed...

TagPrefix="everett" TagName="FirstName" Src="MyFirstName.ascx"
TagPrefix="dave" TagName="FirstName" Src="YourFirstName.ascx"

Not allowed...

TagPrefix="everett" TagName="FirstName" Src="MyFirstName.ascx"
TagPrefix="everett" TagName="FirstName" Src="YourFirstName.ascx"
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing
[email protected]
#5 Posted : Monday, September 17, 2007 4:19:50 PM(UTC)
everett@bvsoftware.com

Rank: Member

Joined: 3/8/2007(UTC)
Posts: 139

Hey Andy,

Thanks for the clarification! By the way... I really like the addition to you Shipping Rate Provider that allows a site to hide some of their shipping methods from Google Checkout. I think this is a simple and elegant solution to deal with the three second monster.

Thanks,
Everett Comstock

BV Software
Andy Miller
#6 Posted : Monday, September 17, 2007 5:05:50 PM(UTC)
Andy Miller

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 2,136

Was thanked: 1 time(s) in 1 post(s)
Thanks Everett!
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing
davebar000
#7 Posted : Monday, September 17, 2007 6:24:38 PM(UTC)
davebar000

Rank: Member

Joined: 12/30/2006(UTC)
Posts: 65

Thanks Guys!
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