Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: How to change Web Browser TITLE?  (Read 4378 times)

0 Members and 1 Guest are viewing this topic.

scottycdl

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 29
How to change Web Browser TITLE?
« 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
« Last Edit: January 05, 2006, 04:34:26 am by GauGau »
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: How to change Web Browser TITLE?
« Reply #1 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.
« Last Edit: January 05, 2006, 12:56:07 am by Casper »
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

scottycdl

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 29
Re: How to change Web Browser TITLE?
« Reply #2 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?
Logged

ecto

  • Supporter
  • Coppermine frequent poster
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 144
    • My very incomplete gallery
Re: How to change Web Browser TITLE?
« Reply #3 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)
Logged

scottycdl

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 29
Re: How to change Web Browser TITLE?
« Reply #4 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?     ::)
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: How to change Web Browser TITLE?
« Reply #5 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.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

modrewriteman

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: How to change Web Browser TITLE?
« Reply #6 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.
Logged

modrewriteman

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: How to change Web Browser TITLE?
« Reply #7 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 /. 
Logged

Nibbler

  • Guest
Re: How to change Web Browser TITLE?
« Reply #8 on: February 22, 2006, 11:35:57 pm »

displayimage.php

Code: [Select]
pageheader($album_name . '/' . $picture_title, $meta_keywords, false);
Posting questions on threads already marked as solved is not generally a good idea.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.