Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff
Author Message
mrix
Client


Joined: Dec 04, 2004
Posts: 757

PostPosted: Thu Dec 06, 2007 8:54 am Reply with quote

Hello all, I have just realised that google adsense has its new youtube video. I am wondering how i could get the code working in a front page block etc.?
thanks for any help all
mrix
 
View user's profile Send private message Visit poster's website
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9456
Location: Arizona

PostPosted: Thu Dec 06, 2007 10:26 am Reply with quote

Do you have the HTML code for it? If so, create yourself a new block file and add the code to it. Something like this has been discussed before:

Code:


<?php

if ( !defined('BLOCK_FILE') ) {
    Header("Location: ../index.php");
    die();
}

$content = <<<EOF

<<copy and paste the HTML code in here>>

EOF

?>


Place the block file in your blocks directory and then use the blocks manager to place where you want on your site.

Now, not being a Google adsense guy any longer, I may have oversimplified this, but hopefully this is good advice. Laughing

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©