coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: indianwidescreens on December 21, 2007, 10:13:33 PM

Title: Changing the Titles & adding adsense!!!
Post by: indianwidescreens on December 21, 2007, 10:13:33 PM
Hi

I just installed Coppermine...and i want to know to change the titling...
Example :

When i go to my gallery index page....Page Title is "Indian Widescreens"

and when i click on some image Page Title is changing to "IndianWidescreens - Pets/Pug Wallpaper"

I dont need complete long one and i need like this "Pug wallpaper"

How can i make this?

and can anyone say how to add adsense codes to coppermine

Thanks
Title: Re: Changing the Titles & adding adsense!!!
Post by: just_some_guy on December 21, 2007, 11:27:45 PM
In response to your 2nd question -

That's a generalisation. Please be more specific on the location of the ads. Basically, edit template.html and you can use anycontent.php, if you need more than 1 anycontent you can use the plugin i made or the mod i made for this.  Here's a thread i made a while ago - http://forum.coppermine-gallery.net/index.php?topic=47177.0 . Remember - if the section you are looking for in theme.php is not there, copy the function or variable definition from the sample theme.php .

PS - The rule is 1 question per thread.
Title: Re: Changing the Titles & adding adsense!!!
Post by: Joachim Müller on December 21, 2007, 11:28:35 PM
Quote from: indianwidescreens on December 21, 2007, 10:13:33 PM
when i click on some image Page Title is changing to "IndianWidescreens - Pets/Pug Wallpaper"

I dont need complete long one and i need like this "Pug wallpaper"
I suggest reviewing this idea - in terms of search engine friendliness you should repeat the parent structure naming in your page title as well.

Quote from: indianwidescreens on December 21, 2007, 10:13:33 PM
and can anyone say how to add adsense codes to coppermine
As just_some_guy pointed out: we have a strict "one question per thread" policy that you agreed to respect when signing up. When signing up, you agreed as well to search the board before posting. Obviously, you haven't searched the board for the term "adsense" - do so now. You will get a lot of results that tell you how this can be accomplished. If you then still don't get it, ask your adsense question in a thread of it's own, providing a link to your gallery and an explanation where exactly the adsense block is suppossed to show.

Title: Re: Changing the Titles & adding adsense!!!
Post by: indianwidescreens on December 22, 2007, 07:27:48 AM
Thank you for your answers and sorry for asking two questions at a time..

and regarding titles how can i make as per my requirement!!??
Title: Re: Changing the Titles & adding adsense!!!
Post by: Joachim Müller on December 22, 2007, 12:49:05 PM
Review http://forum.coppermine-gallery.net/index.php?topic=40951.0 and similar threads.
Title: Re: Changing the Titles & adding adsense!!!
Post by: Joachim Müller on December 22, 2007, 12:51:39 PM
Double posting: How to manually change the title of the index.php (http://forum.coppermine-gallery.net/index.php?topic=49190.0). Don't!
Title: Re: Changing the Titles & adding adsense!!!
Post by: indianwidescreens on January 08, 2008, 09:13:00 AM
Sorry was new to this support forum...

Followed this thread

http://forum.coppermine-gallery.net/index.php?topic=40951.0

and changed....but on homepage "Home" is coming..... i found answer there but cant understand..can anyone mention clearly??

Thanks in advance