• A Guide to Disaster Recovery in the CloudLearn how VMware vCloud® Air™ Disaster Recovery provides an affordable cloud-based solution to protect your applications and data.
    Please register now for a free copy of this e-book.

    Download
  • EMC Elect 2016 EMC Elect 2016 

    EMC Elect represents an unprecedented opportunity for members to receive exclusive access, privileges, and status in appreciation for their contributions to the EMC community.

    Read more

  • Demo Image Everything you need and nothing you don’t. EMC MOBILE is the essential tool for those of us who live EMC. Now your documentation library is available and in-sync online or off direct from the EMC Cloud

    Download

  • Mikes AppMikes.eu App listed in Top Free Business App Windows Store. This simple but very clear app shows all the new posts from this site. Available for Windows 8 and 10. Try it out!

    Download
  • Demo ImageWhy Advertise on Mikes.eu

    Mikes.eu traffic varies depending on the post. We have a VERY focused audience in the Virtualization, Storage and Cloud Marketing space. We have been ranked in the top 5 of Favorite Independent Blogger and one of the most visited website.

Print

add buysellads code to joomla

Written by Roy Mikes on . Posted in How to

You run your site as a hobby or you’re just getting started. BuySellAds help publishers sell ads directly to advertisers. Register, login, change settings and last but not least add your code. By now Joomla is overtaken by Wordpress when it comes to blogging. Unfortunately a lot of code is only written for Wordpress. However you can add codes for BuySellAds to your joomla site manual. The solution does not deserve any prizes but is simple and works.

You need to add a snippet in the head section of your template. That is the code needed to load the ads.

FTP to your site folder \\public_html\templates\yoo_cloud\layouts (this is in my case)

Edit the template.php file. Install this main code, right below the opening <body> tag or just before </body>.

<!-- BuySellAds Ad Code --><scripttype="text/javascript">(function(){var bsa = document.createElement('script');
     bsa.type ='text/javascript';
     bsa.async =true;
     bsa.src ='http://s3.buysellads.com/ac/bsa.js';(document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]).appendChild(bsa);})();</script><!-- End BuySellAds Ad Code -->

In addition, you need to add the actual 'second' ad code where you want the ad to appear. You can use a custom HTML module to accomplish this

<!-- BuySellAds Zone Code --><divid="bsap_1282282"class="bsarocks bsap_61399dad554fc731feecd6cdxxxxxx"></div><!-- End BuySellAds Zone Code -->

That's it. You are good to go. 

 

Download Free Designs http://bigtheme.net/ Free Websites Templates