Theme Editing Problem Theme Editing Problem
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Theme Editing Problem

Started by dave2win, March 29, 2008, 12:38:21 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dave2win

Okay I don't want to ask any more on "How to add Adsense to my site?" So I searched the whole forum for "Adsense" and got something around 1000 post & read them all post by post and got determined to modify my theme. I use "Water Drop" theme. I opened water drop theme folder under theme folder & finally opened up "theme.php" to find that it was almost blank except for a big block of comments & two to three lines of code.

Then I did some searching again & found in many places that you guys asked to copy certain portions of the theme.php file in sample theme to the working theme.php file. I wanted to know that how copper mine detects the water drop theme if the theme.php in water drop folder had nothing previously. I want to add adsense to many sections:- like in the full pics window, in thumbnails view , intermediate view etc.... so which blocks should I copy.

The bolded portions are the questions which I need to be answered. ???

Link to my Gallery :--> http://zoebelkin.co.nr/site/gallery/index.php

Joachim Müller

Quote from: dave2win on March 29, 2008, 12:38:21 PMI wanted to know that how copper mine detects the water drop theme if the theme.php in water drop folder had nothing previously
The default is being defined in include/themes.incphp, but you mustn't edit that file!
Quote from: dave2win on March 29, 2008, 12:38:21 PMlike in the full pics window, in thumbnails view , intermediate view etc.
As you claim to have read all the threads that deal with Adsense I'm pretty sure that you have read there what sections you need to edit.

Quote from: dave2win on March 29, 2008, 12:38:21 PMwhich blocks should I copy
Depends on where exactly on those pages you want adsense to appear.

Quote from: dave2win on March 29, 2008, 12:38:21 PM
Link to my Gallery :--> http://zoebelkin.co.nr/site/gallery/index.php
You're running cpg1.4.12, while the most recent stable release is cpg1.4.16, so your initial concern should be upgrading, not adding adsense.