Browsing this Thread:
1 Anonymous Users
|
|
how to insert google adsense |
|
Just popping in 
Joined: 2008/10/12 22:11
Group:
Registered Users
Level : 1; EXP : 0 HP : 0 / 0 MP : 0 / 0
|
Hi, how can I insert google adsense's code into a single article?
Posted on: 2008/10/12 22:21
|
|
|
|
|
Re: how to insert google adsense |
|
Just popping in 
Joined: 2008/11/4 13:06
Group:
Registered Users
Level : 1; EXP : 0 HP : 0 / 0 MP : 0 / 0
|
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: ams_article.zip Size: 2.13 KB; Hits: 484
Posted on: 2008/11/4 13:18
|
|
|
|
|
Re: how to insert google adsense |
|
Just popping in 
Joined: 2010/5/7 14:32
Group:
Registered Users
Level : 1; EXP : 0 HP : 0 / 0 MP : 0 / 0
|
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 14:50
|
|
|
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.