Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 11:21 am EST

Geeklog Forums

PHP Blocks


Status: offline

eLliDKraM

Forum User
Junior
Registered: 04/23/05
Posts: 19
Location:Minneapolis, MN
How can I get a PHP block to run Google Adsense?
Anyone can hold the helm when the sea is calm.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
You don't need a PHP block for that. Add one part of the JavaScript code (the bit that contains your AdSense id) to your site's header.thtml and put the other part in a normal block.

bye, Dirk
 Quote

All times are EST. The time is now 11:21 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content