coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: scottycdl on January 05, 2006, 12:18:46 AM

Title: How to change Web Browser TITLE?
Post by: scottycdl on January 05, 2006, 12:18:46 AM
With CM 143, which file do we edit to change the TITLE of the web browser page, as it appears in Internet Explorer?

Currently, it is set to "HOME", and I need it to be something sensible so search engines can index it.

Cheers

Link to site is http://www.pdistudios.com/cpg143/index.php (http://www.pdistudios.com/cpg143/index.php)
Title: Re: How to change Web Browser TITLE?
Post by: Casper on January 05, 2006, 12:40:30 AM
It will show whatever is set in your config, general settings, gallery name.  Just fill that in, don't leave it blank.

Note, you may need to remove the {GAL_NAME} from your theme template.html if it exists, if it mucks up your page.
Title: Re: How to change Web Browser TITLE?
Post by: scottycdl on January 05, 2006, 01:15:55 AM
OK, problem is, I do not *have* a config.php file. Weird....

Is it called something else, perhaps?
Title: Re: How to change Web Browser TITLE?
Post by: ecto on January 05, 2006, 01:21:11 AM
He didn't mean config.php, he meant your gallery config (the Config button in the admin menu)
Title: Re: How to change Web Browser TITLE?
Post by: scottycdl on January 05, 2006, 01:25:24 AM
Oh good grief! How embarrassing   ;D

OK, I mananged to fix it.

Sheesh............

Of course, I knew this all along, right?     ::)
Title: Re: How to change Web Browser TITLE?
Post by: Casper on January 05, 2006, 01:32:55 AM
Thanks ecto,

don't worry scotty, we all have those 'DOH' moments. Ask Nibbler, I've had a couple tonight on another subject.
Title: Re: How to change Web Browser TITLE?
Post by: modrewriteman on February 22, 2006, 11:25:10 PM
I have a similar question.  Where would I find the code to edit the title to remove "Last additions" from the title. And, I'd also like to remove the / or at least put a space between it and the images filename.
Title: Re: How to change Web Browser TITLE?
Post by: modrewriteman on February 22, 2006, 11:33:20 PM
Ok, I found where to remove Last additions, but I can't find where to add a space after the /. 
Title: Re: How to change Web Browser TITLE?
Post by: Nibbler on February 22, 2006, 11:35:57 PM
displayimage.php

pageheader($album_name . '/' . $picture_title, $meta_keywords, false);

Posting questions on threads already marked as solved is not generally a good idea.