User Login    
 + Register
  • Main navigation
Login
Username:

Password:

Remember me



Lost Password?

Register now!
Who's Online
5 user(s) are online (3 user(s) are browsing Forum)

Members: 0
Guests: 5

more...
Donation
If you like NovaSmart modules & hack, please donate some money. We will use the money to pay out programmer for "extra hour " job so your favorite modules/hack will get updated.


for



* Credit card also accepted through paypal

Total Donation so far: USD$45.00
Alexa Ranking

Browsing this Thread:   1 Anonymous Users





how to insert google adsense
Just popping in
Joined:
2008/10/13 2:11
Group:
Registered Users
Posts: 1
Level : 1; EXP : 0
HP : 0 / 0
MP : 0 / 0
Offline
Hi,
how can I insert google adsense's code into a single article?

Posted on: 2008/10/13 2:21
Transfer the post to other applications Transfer


Re: how to insert google adsense
Just popping in
Joined:
2008/11/4 18:06
Group:
Registered Users
Posts: 1
Level : 1; EXP : 0
HP : 0 / 0
MP : 0 / 0
Offline
You can hack the articles template as follows:

Edit the ams_articles.html template file in /public_html/modules/AMS/templates/ (or whatever is the path to your AMS templates directory)

Rather than try and explain it I just uploaded my edited file with comments, additionally this is modified to show a social bookmarking button from addthis.com, handy for increasing traffic

Attach file:


zip ams_article.zip Size: 2.13 KB; Hits: 574

Posted on: 2008/11/4 18:18
Transfer the post to other applications Transfer


Re: how to insert google adsense
Just popping in
Joined:
2010/5/7 18:32
Group:
Registered Users
Posts: 1
Level : 1; EXP : 0
HP : 0 / 0
MP : 0 / 0
Offline
Hey, thats extremely useful - thanks for sharing that! I didnt even think about that, to insert adsense in my articles. Will give this a try!

Posted on: 2010/5/7 18:50
Transfer the post to other applications Transfer






You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.

[Advanced Search]