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

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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".