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
Posts: 27300
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
Posts: 5
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.
Posts: 27300
http://gallery.menalto.com/node/42725#comment-233000
Posts: 5
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
Posts: 27300
http://gallery.menalto.com/node/52322
right of photo add your code in photo.tpl above the thumbs
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 5
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
Posts: 27300
I would wrap the code in a new div and add some CSS to position the new div.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 5
Thanks for the hint but I have no idea how to do that div and css thingy sorry Newbie here
Posts: 27300
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
Posts: 4
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
Posts: 27300
please start a new thread with your issue.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team