carbon theme / How to insert adsense codes?

dilip2k

Joined: 2007-09-15
Posts: 5
Posted: Sat, 2007-09-15 15:00

Hi,
I dont know if this is the right place for this question but please help out a newbie. I want to install adsense codes onto my site, I use a carbon theme. Most advice is fr the matrix theme when it comes to adsense. Please can anyone pointme out how to insert adsense on top, the left bar and between picturesin the album?

Thanks a lot,

Dilip

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2007-09-15 17:03

http://codex.gallery2.org/Gallery2:How_to_add_adsense
Just follow the same directions change the word matrix to carbon.
add {g->theme include="adsense.tpl"} to where you want it to show up (footer, sidebar, top, and album.tpl)

If you get stuck post a url of where you want the code.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
dilip2k

Joined: 2007-09-15
Posts: 5
Posted: Sat, 2007-09-15 18:07

thanks that helped :) , if you could guide me where to insert the code in the album template so the ad appears ,would be much appreciated.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2007-09-16 04:07
Quote:
If you get stuck post a url of where you want the code.

http://gallery.menalto.com/node/42725#comment-233000

 
dilip2k

Joined: 2007-09-15
Posts: 5
Posted: Sun, 2007-09-16 06:27

sorry here are the urls:

Here i would like between the row of pictures:
http://www.hotcelebritypic.com/main.php

http://www.hotcelebritypic.com/v/Aishwarya-Rai/

Here i would like it on top or the right of the picture

http://www.hotcelebritypic.com/v/Aishwarya-Rai/Aishwarya-Rai-10.JPG.html

Thanks for your prompt help.

Dilip

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2007-09-17 00:02

http://gallery.menalto.com/node/52322

right of photo add your code in photo.tpl above the thumbs

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
dilip2k

Joined: 2007-09-15
Posts: 5
Posted: Mon, 2007-09-17 03:18

between rows worked like a charm :) thanks,just need to figure out how to align it to the right now. Photo.tpl i could not figure out. Thanks again

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2007-09-17 03:37

I would wrap the code in a new div and add some CSS to position the new div.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
dilip2k

Joined: 2007-09-15
Posts: 5
Posted: Mon, 2007-09-17 03:59
Quote:
I would wrap the code in a new div and add some CSS to position the new div.

Thanks for the hint but I have no idea how to do that div and css thingy sorry Newbie here :(

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2007-09-19 15:16

Wrap your code in
<div class="positionMe">
and
</div>

Then add :
#positionMe {
add positioning stuff here
}
To the css
You will need to learn how to position stuff with CSS.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
itsgambit

Joined: 2007-10-28
Posts: 4
Posted: Mon, 2007-10-29 23:35

I do not have a /gallery/themes/carbon/templates/local/ dir or a /gallery/themes/matrix/templates/local/ there is no other folder in the templates folder... I created a local dir.... and added the copied file there..

still no pictures....

My gallery is http://www.gallery.atozeedesigns.com

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2007-10-30 01:42
itsgambit wrote:
I do not have a /gallery/themes/carbon/templates/local/ dir or a /gallery/themes/matrix/templates/local/ there is no other folder in the templates folder... I created a local dir....

please start a new thread with your issue.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team