coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: clp on October 20, 2006, 06:27:46 AM

Title: adsense in igames theme
Post by: clp on October 20, 2006, 06:27:46 AM
Hello!

I have just installed coppermine a couple of days ago.  I want to seek help in placing my adsense code specifically in my igames theme wherever possible.

I hope someone could help me.

Thanks.


Clarisse
Title: Re: adsense in igames theme
Post by: Sami on October 20, 2006, 06:31:19 AM
- Are you using it with PostNuke ? if No then you're postint to wrong board
- You can add your html code to themes/igames/template.html
Title: Re: adsense in igames theme
Post by: clp on October 20, 2006, 06:39:25 AM
Quote from: Sami on October 20, 2006, 06:31:19 AM
- Are you using it with PostNuke ? if No then you're postint to wrong board
- You can add your html code to themes/igames/template.html

ooopss... sorry for posting in the wrong board.  No, im not using it with PostNuke.  Can you pls. tell me where exactly should i place my adsense code inside the file?  Im afraid to mess it up.

Clarisse
Title: Re: adsense in igames theme
Post by: Sami on October 20, 2006, 06:46:27 AM
Quote from: clp on October 20, 2006, 06:39:25 AM
ooopss... sorry for posting in the wrong board.  No, im not using it with PostNuke
Moving ....

Quote from: clp on October 20, 2006, 06:39:25 AM
Can you pls. tell me where exactly should i place my adsense code inside the file?  Im afraid to mess it up.

- I'm not much familier with addsence code
- Depending on where you want to add show
- maybe you could add it right after this:

<div id="CUSTOM_HEADER">
  {CUSTOM_HEADER}
  </div>

and use <center> , </center> to align it at center of page
Title: Re: adsense in igames theme
Post by: Joachim Müller on October 20, 2006, 09:49:46 AM
You can add your adsense code wherever you see fit. After all it's plain HTML and JavaScript, so it can go anywhere in template.html (which is plain HTML as well). We can't advice where exactly to place it unless you post at least a screenshot of your gallery and highlight the section you want your adsense code to go to.
Google's adsense program is geared towards people who at least know HTML.
Title: Re: adsense in igames theme
Post by: clp on October 20, 2006, 10:47:40 AM
Hi.  Here's the screenshot of my gallery.  I hope you could tell me where exactly to place my adsense code.   

Thanks.


[Edit GauGau] Replaced hotlinked image with attachment [/Edit]
Title: Re: adsense in igames theme
Post by: Joachim Müller on October 20, 2006, 11:23:20 AM
themes/igames/template.html

Into a new line right below<div id="MENUS">
  <div id="SUB_MENU">
    {SUB_MENU}
  </div>
  <div id="SYS_MENU">
    {SYS_MENU}
  </div>
</div>
As I said - this is plain HTML.
Title: Re: adsense in igames theme
Post by: clp on October 20, 2006, 12:10:51 PM
thanks!  it worked.  I now have a link ad under the menus.

Can you pls. tell me where to put my code if i want ads to appear below RANDOM FILES and just above LAST ADDITIONS?

Thanks!


Clarisse
Title: Re: adsense in igames theme
Post by: Sami on October 20, 2006, 12:11:52 PM
use anycontent.php instead

- put your code under anycontent.php
- and set it between random and lastup under
config=>Album view =>The content of the main page

something like this:catlist/alblist/random,2/anycontent/lastup,2
Title: Re: adsense in igames theme
Post by: clp on October 23, 2006, 04:30:35 PM
Quote from: Sami on October 20, 2006, 12:11:52 PM
use anycontent.php instead

- put your code under anycontent.php
- and set it between random and lastup under
config=>Album view =>The content of the main page

something like this:catlist/alblist/random,2/anycontent/lastup,2

hey sami!  thanks a lot.  It worked.  :)
Title: Re: adsense in igames theme
Post by: burnedbrass on February 24, 2008, 03:07:18 AM
Joachim and Sami, just want to say thanks it works - hairnations.com