Home
Getting Started
Solutions
Tutorials
Tips
SE Optimization
Customizing OL
Help and How To
Downloads
Services
Frequently Asked Question
Contact Us

Bravenet-Affiliate Ads

1.  Sign up for Bravenet Affiliate program here: http://www.bravenet.com/webtools/affiliate/

 

2.  Once you have signed up you well be given the choice of several different types of ads, sizes, ect.

 

3.  Paste the following code into notepad:

 

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="text" omit-xml-declaration="yes"/>
<xsl:template match="/Footer">
<![CDATA[

 

]]>
</xsl:template>
</xsl:stylesheet>

 

4.  Next go back to Bravenet copy code for the ad type you wish to display, you can use the HTML version of the code or the JavaScript version, and paste it after the <![CDATA[ tag in notepad:

 

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="text" omit-xml-declaration="yes"/>
<xsl:template match="/Footer">
<![CDATA[
<script>
<!--
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('<script src="
http://affiliates.bravenet.com/rotator/CD128/12&js=1&r
='+r+'&keyword="><\/script>'
);
//-->
</script>

]]>
</xsl:template>
</xsl:stylesheet>

 

5.  Copy the entire code from notepad and paste it into the Custom Footer module, removing everything else.

 

Note: If you don't have the Custom Footer module, you will need to activate Advanced Design Tools.

 

Inserting Bravenet Ads in the Left Navigation

1.  Sign up for Bravenet Affiliate program here: http://www.bravenet.com/webtools/affiliate/.

 

2.  Copy the following code into notepad:

 

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="text" omit-xml-declaration="yes"/>
<xsl:template match="/">
<![CDATA[<div id="adLoader">
 

</div>
<script type="text/javascript">
var leftNav = document.getElementById('IWS_WH_Elem_LeftNav');
leftNav.appendChild(document.getElementById('adLoader'));
</script>
]]>
</xsl:template>
</xsl:stylesheet>

 

3.  Copy the affiliate code from bravenet, either the HTML or JavaScript version will work, paste the code between the <div> tags:

 

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="text" omit-xml-declaration="yes"/>
<xsl:template match="/">
<![CDATA[<div id="adLoader">
<script>
<!--
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('<script src="
http://affiliates.bravenet.com/rotator/CD128/
10&js=1&r='+r+'&keyword="><\/script>'
);
//-->
</script>

</div>
<script type="text/javascript">
var leftNav = document.getElementById('IWS_WH_Elem_LeftNav');
leftNav.appendChild(document.getElementById('adLoader'));
</script>
]]>
</xsl:template>
</xsl:stylesheet>

 

4.  Copy the entire code from notepad and paste it into the Custom Footer module, removing everything else.

 

Note: If you don't have the Custom Footer module, you will need to activate Advanced Design Tools.

 

Example