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
|
|
|
|
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
|
|
|
|
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 |
|
|
|
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" |
|
|
|
|
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 |
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 2,136
Was thanked: 1 time(s) in 1 post(s)
|
|
|
|
|
|
Rank: Member
Joined: 12/30/2006(UTC) Posts: 65
|
|
|
|
|
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.