Adding Adsense to TikiWiki CMS/Groupware is Simple

In our growing age of digital saturation, more and more socially oriented sites are starting to come online and one of the most popular forms of these sites are Wiki’s. Wiki stands for ‘what I know is’ and judging by the popular of all the sites spawned based on Wikipedia’s concepts, opensource groupware is definitely here to stay. While this article isn’t intended to convince you that using TikiWiki is a great idea, it is definitely a great way to learn to earn a bit of income from your existing TikiWiki CMS website. As the amount of people coming to prefer the wiki concept increases, you should be able to expect a well hosted wiki site to earn a decent amount of income, particularly if you are providing content that your users are really happy to discover online.

However, it should be noted that TikiWiki is a very powerful groupware wiki that offers not only a mod to turn convert your wiki entries into speech so that visitors and collaborators can listen to the entries, but also a mod to help your wiki go mobile and be accessible from smartphones such as the iPhone. With these features, it is obviously a very smart idea to give this solution a try if you want to create a website that is going to wow visitors. After all, they are the ones who help you earn with Google’s Adsense!

There are 2 primary methods of adding Adsense to your TikiWiki Groupware CMS and we’ll do the most difficult variant first because it is the fastest. Those with experience should try this option first.

In the ‘templates’ directory of your TikiWiki installation you will need to create a file titled googleadsenseforsite.tpl where you will past some Javascript code. Since TikiWiki’s Smarty code can collide with Javascript, your code will need to look like this:

{literal}
<!–
google_ad_client = “pub-00000000000000″;
/* 468×15, created 06/02/08 */
google_ad_slot = “0123456789″;
google_ad_width = 468;
google_ad_height = 15;
//–>
{/literal}

The (literal) and (/literal) tags help Smarty know not to mess with your Javascript. Don’t forget that the “pub-000000000000″ needs to be your own publisher number given to you by Adsense.

After you have saved the code and made sure it now resides in the googleadsenseforsite.tpl file on your web host, you will need to create a module, using the information below.

Name: googleadsenseforsite
Title: Advertisement
Data: {include file=”googleadsenseforsite.tpl”}

That’s it for the more complex way of doing things. Now we will take a look at a simpler solution for those who don’t feel comfortable directly altering code.

First, log in as Admin and open the Admin menu. Then you will click the Features link while ensuring that ‘xHTML Pages’ is selected, then save your changes.

Open the Admin menu once again to select the ‘Modules’ menu, then click ‘Create new user module’ at the bottom of your screen. Fill the fields on this screen in as follows:

Name: Google Adsense
Title: Ads by Google (in accordance with the Google TOS you must state that these ads are from Google and not merely site decoration)
Data: This is where you paste in the code Google Adsense gives you when you create a campaign.

Click the Create button and now your new module appears as one of the User Modules. All you need to do next is assign the location of your module and select where you want it to show up on your TikiWiki site. Visibility, Groups and Order are the settings you will want to play around with in order to get your ads showing up how you want them to.

It’s really that simple to set your TikiWiki site up to earn with Adsense.

Popularity: 4% [?]

Share and Enjoy:
  • email
  • del.icio.us
  • TwitThis
  • Reddit
  • StumbleUpon
  • Sphinn
  • Facebook
  • MySpace
  • Live
  • Google Bookmarks
  • LinkedIn
  • Technorati
  • Mixx
  • Yahoo! Buzz
  • Propeller
  • NewsVine
  • Slashdot

No related posts.

Tags: , , ,

Leave a Reply