forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: a-amp on March 17, 2006, 12:31:18 pm
-
Hi,
I wanted to put some advertisement code (eg adsense) code under the breadcrumb (menu) but I have no idea how I could do that. I only want to put the code in the thumbnail page and now for this kind of advertisement, I put it right under the page, below "?>. I believe it is possible to put them inside the php code, so that the ad appear below the menu.
Would appreciate your help...
Later,
-
Perhaps an option is to make an extra case switch like anycontent file in index.php add:
case 'adsense':
if ($cat == 0) {
include('adsense.php');
}
flush();
break;
Then place the html code you want in a .php file called adsense.php (use the anycontent file as example template)
To display it set your config to breadcrumb/adsense/alblist/random,2/lastup,2
not tested but should work
-
I'll give this a try. I have one concern... will this affect the relevance of the ads output?
-
that got nothing to do with coppermine but the script itself