Trail Blazer Knowledge Base

 

Home : Web Tools : Web site signup < iframe >

Knowledge Base







User:

Password:



Article ID: KB40
Keyword Name:
Created: August 18, 2014
Viewed: 35722

Web site signup < iframe >

Adding Tools like web sign up into your web site is simple with iframe.

Example URL
http://trailblz.com/demositemarkonly/political/contact.html
or

http://trailblz.com/demositemarkonly/political/donate.html

 

Place an iframe within the body of the page you would like to display the signup information adjust the height and width accordingly.

 

A Note about RD vs. RDIF (thank you page redirects)

RD is used in cases where you want the thank your pages to display within the boundaries of the iframe window.

RDIF is used when you want the thank you page to be a page on its own outside of the iframe.  This parameter is slightly slower than an RD parameter, but adds additional flexibility.

 

Basic iFrame code

 

<!-- insert iframe here -->
    <IFRAME src="https://www.trailblz.info/yourdatabasename/SignupGroups.aspx"  width="520" height="900" frameborder="0" scrolling="Yes" onload="scroll(0,0)"> </IFRAME>
<!-- insert iframe end -->


THE ONLY VALID pages you can place inside the iframe are:

EventDirectory.aspx
Donations.aspx
SignupEmail.aspx
SignupShort.aspx
SignupNoGroups.aspx
SignupGroups.aspx

Retired aspx iframe pages
signup.aspx
email_signup.aspx
contribute.aspx
events.aspx

 

 

Send Your Donor to a Thank You Page of Your Choosing With a Redirect

This alternative allows you to direct the user to a specific web page AFTER they have completed the data entry:

<IFRAME src="https://www.trailblz.info/yourdatabasename/signup.aspx?rdif=http://www.yourwebsite.com/yourthankyouwebpage.htm" width="520" height="745" frameborder="0" scrolling="Yes" onload="scroll(0,0)" style="position: relative; width: 520px; height: 745px"> </IFRAME>

 

The 'onload' option was just added to this article on 9/9/2008.  It is to position the redirect back to the top of the form. Note: In some cms systems javascript it not supported and this may need to be removed.

Starting with version 6.x.x (on or around 2/20/2009) the contribution rd will get appended with the contribution value in a url parameter, that parameter is ‘da’.  Using the example below, with the rd value of http://www.yourwebsite.com/yourthankyouwebpage.htm, now we would be redirected to http://www.yourwebsite.com/yourthankyouwebpage.htm?da=#.00, where #.00 is the amount of the contribution.  You will need Java, PhP, ASP, ASP.net or any other language that can read and parse URL parameters to make use of this information.

 

<IFRAME src="https://www.trailblz.info/yourdatabasename/donation.aspx?rdif=http://www.yourwebsite.com/yourthankyouwebpage.htm" width="520" height="745" frameborder="0" scrolling="Yes" onload="scroll(0,0)" style="position: relative; width: 520px; height: 745px"> </IFRAME>

 

Available URL Parameters on Donation iFrame

  

ver=2   2014 view of the donation page
cmtid=x   If you are tracking donations for multiple organizations, x is the ID associated with this organization for which this page donation page is taking donations.
RD   Redirect WITHIN the iframe  - used for thank you response after donation completion
RDIF   Redirect outside the iframe  - used for thank you response after donation completion
eventid=x   Tie this donation page to a particular Event in Trail Blazer.  ID is the Event ID assigned by Trail Blazer to the event.
originid=x     Attribute ID this donation page is tied to.


Tie the Contribution Page to an Event

 

If you would like to create a special contribution page that tracks donations to a particular event, you would use the following code:

 

       <!-- insert iframe here -->
            <IFRAME src="https://www.trailblz.info/yourdatabasename/donations.aspx?rdif=http://www.yourwebsite.com/yourthankyouwebpage.htm&eventid=7" target="_top" width="585" height="1140" frameborder="0" scrolling="No" onload="scroll(0,0)">
            </IFRAME>
       <!-- insert iframe end -->

EventID is the number associated with this event within the Trail Blazer database.

 

Tie the Contribution Page to an Event And/Or a Source Code

    <!-- insert iframe here -->
            <IFRAME src="https://www.trailblz.info/yourdatabasename/donations.aspx?rdif=http://www.yourwebsite.com/yourthankyouwebpage.htm&eventid=7&originid=62" target="_top" width="585"                    
                    height="1140" frameborder="0" scrolling="No" onload="scroll(0,0)">
            </IFRAME>
     <!-- insert iframe end -->

The OriginID is the ID associated with an item your Groups-Source tab.

 

 

Tie the Contribution Page to a Specific Committee/Organization  (added 8/2014)

<iframe id="tbzframe" src="https://www.trailblz.info/yourdatabasename.aspx?rdif=http%3a%2f%2fwww.yourwebsite.com%2fyourthankyouwebpage.htm&cmtid=2&ver=2" style="width:1050px;height:1600px" frameborder="0" scrolling="no" onload="scroll(0,0)"></iframe>

 

 

 

 

 

 

i-frame

 

Are you ready to learn more? Contact Us