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: Modify page title for index.php  (Read 2619 times)

0 Members and 1 Guest are viewing this topic.

marecki

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Modify page title for index.php
« on: October 24, 2008, 12:00:41 pm »

When index.php display category index, the page title is "Gallery Name - Category Name". And that is correct.
But when index.php display main page of gallery, the page title is "Gallery Name - HOME PAGE". This title is also indexed by Google and it look very bad for me :(

How to remove text "- HOME PAGE" when index.php display main page?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Modify page title for index.php
« Reply #1 on: October 25, 2008, 12:05:37 pm »

To just change the wording, edit the language file (i.e. lang/english.php) with a plain text editor and find
Code: [Select]
$lang_list_categories = array(
  'home' => 'Home',
and edit as you see fit. You might change it to
Code: [Select]
$lang_list_categories = array(
  'home' => 'Gallery overview',
or similar.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.