
Originally Posted by
First Action
The problem is that I didnt actually change any code. I did it through the admin 'edit banner boxes'
I did try to change the tpl_main_page but all I got was white space.
Below is what I did
Original
<div id="bannerThree" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
<?php
}
}
?>
New
<?php if (!$current_page_base == 'index' and $cPath == '48') {
<div id="bannerThree" class="banners"><center>
<a href="http://twitter.com/share" class="twitter-share-button" data-count="none" data-via="First_Action">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
<a href="http://www.facebook.com/sharer.php?u=http%3A//www.firstactionarticles.com/highly_recommended&t=First+Action+Articles" target="_blank"><img src="http://www.firstactionarticles.com/images/faceshare.jpg" alt="Share this on Facebook" width="72" height="22" border="0" /></a>
<script type="text/javascript">
(function() {
var s = document.createElement('SCRIPT'), s1 = document.getElementsByTagName('SCRIPT')[0];
s.type = 'text/javascript';
s.async = true;
s.src = 'http://widgets.digg.com/buttons.js';
s1.parentNode.insertBefore(s, s1);
})();
</script>
<!-- Compact Button -->
<a class="DiggThisButton DiggCompact"></a></center>
<br></div>
}
?>
Result was that my whole site turned to white.