How-To Remove "- Home" in the title How-To Remove "- Home" in the title
 

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]

Main Menu

How-To Remove "- Home" in the title

Started by iKwak, August 10, 2004, 08:54:08 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

iKwak

How would you remove the "- Home" in the title of the gallery?

Thank you for you time.

Joachim Müller

This is not the title, but the so-called "breadcrumb navigation" you can disable it completely, or you could edit lang/yourlanguage.php (e.g. lang/english.php), find$lang_list_categories = array(
  'home' => 'Home',
and replace it with$lang_list_categories = array(
  'home' => '',
This is although not recommended, the breadcrumb gives your users the opportuntity to get back to the coppermine start page.

GauGau

guanche

How would I go about removing the Home> Category Navigation bar altogether?  I want to remove the bar, text, links and everything so that there is no navigation bar on the top.  Also I want to do the same with the top of the album list, where is has a bar saying "1 files in 15 albums with 0 comments viewed 1 times" where can I comment that out?  Any tips are greatly appreciated.

Joe

Casper

The 'home>category>album' bar is called the 'breadcrumb'.  Removing this from 'contents of main page' in config does this.

The removal of other things such as statistics, has been asked, and answered many times, please search the board.
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

iKwak

I don't mean the breadcrumb navigation, I mean the HTML title.
In default, the index page of the gallery has a - Home after the gallery title.

I would like to know how to remove the - Home from the title. Thanks in advance.


Quote from: GauGau on August 10, 2004, 09:55:21 AM
This is not the title, but the so-called "breadcrumb navigation" you can disable it completely, or you could edit lang/yourlanguage.php (e.g. lang/english.php), find$lang_list_categories = array(
  'home' => 'Home',
and replace it with$lang_list_categories = array(
  'home' => '',
This is although not recommended, the breadcrumb gives your users the opportuntity to get back to the coppermine start page.

GauGau

Nibbler

You can either change it for all pages in your theme's template.html

<title>{TITLE}</title>

or in theme.php, it is defined here:

'{TITLE}' => $CONFIG['gallery_name'] . ' - ' . $section,