Advertisement code right under the breadcrumb. Advertisement code right under the breadcrumb.
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Advertisement code right under the breadcrumb.

Started by a-amp, March 17, 2006, 12:31:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

a-amp

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,

xplicit

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
Don't ask me: Can you do this .... or Give me that...or I need Quick help in PM's. I'm not Santaclaus so post your questions on the board so it will be in the benefit for everyone.

lordprodigy

I'll give this a try. I have one concern... will this affect the relevance of the ads output?

xplicit

that got nothing to do with coppermine but the script itself
Don't ask me: Can you do this .... or Give me that...or I need Quick help in PM's. I'm not Santaclaus so post your questions on the board so it will be in the benefit for everyone.