How i Add adbrite code to giallo Theme in this place ? How i Add adbrite code to giallo Theme in this place ?
 

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

How i Add adbrite code to giallo Theme in this place ?

Started by cong, February 07, 2007, 05:48:26 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


Joachim Müller

I have no idea what adbrite is. If it is static HTML/JavaScript, edit themes/giallo/template.html, find<td bgcolor="#F0F0F0" valign="top" nowrap="nowrap"><div class="topmenu">{SYS_MENU}</div><div class="topmenu">{SUB_MENU}</div></td>and replace with<td bgcolor="#F0F0F0" valign="top" nowrap="nowrap"><div class="topmenu">{SYS_MENU}</div><div class="topmenu">{SUB_MENU}</div>your custom code here</td>

If you need to add custom PHP code, replace<body>
{CUSTOM_HEADER}
with<body>and replace<td bgcolor="#F0F0F0" valign="top" nowrap="nowrap"><div class="topmenu">{SYS_MENU}</div><div class="topmenu">{SUB_MENU}</div></td>with<td bgcolor="#F0F0F0" valign="top" nowrap="nowrap"><div class="topmenu">{SYS_MENU}</div><div class="topmenu">{SUB_MENU}</div>{CUSTOM_HEADER}</td>and set the relative path to your external PHP ad page up for the custom header in coppermine's config.


cong

thank you very much for your quick reply

adbrite code like adsense code (advertising program )

Joachim Müller

That's what I guessed from your question. What really would be important: is it static HTML/JavaScript or dynamic PHP-driven code.
Anyway, marking thread as "solved".