coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: cong on February 07, 2007, 05:48:26 PM

Title: How i Add adbrite code to giallo Theme in this place ?
Post by: cong on February 07, 2007, 05:48:26 PM
hello every body

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

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg389.imageshack.us%2Fimg389%2F5213%2Funtitled1kh0.jpg&hash=36bb12bac49462cb84f133c1a63a644b5f609fca) (http://imageshack.us)

thanx
Title: Re: How i Add adbrite code to giallo Theme in this place ?
Post by: Joachim Müller on February 07, 2007, 07:30:02 PM
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.

Title: Re: How i Add adbrite code to giallo Theme in this place ?
Post by: cong on February 08, 2007, 07:40:32 AM
thank you very much for your quick reply

adbrite code like adsense code (advertising program )
Title: Re: How i Add adbrite code to giallo Theme in this place ?
Post by: Joachim Müller on February 08, 2007, 07:48:14 AM
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".