AdSense filtering by node type
A few months back you and I talked about sprinkling ads in [Drupal] 4.7 and I pointed out the change in $seqid. Everything works great for sprinkling and a single ad on nodes. However, I've got a review module and don't want this code to show up on those pages. The reviews are saved as a regular page (../node/nn) but are aliased to ../reviews/review_name
Is there anyway to exclude pages in ../review from showing up?
-T
Copy your node.tpl.php template file to node-review.tpl.php and don't add the AdSense code to the node-review.tpl.php file. See http://drupal.org/node/17565
» deekayen's blog ·
·
·
Topics: Drupal
·
·
Topics: Drupal

Post new comment