coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: iKwak on August 10, 2004, 08:54:08 AM

Title: How-To Remove "- Home" in the title
Post by: iKwak on August 10, 2004, 08:54:08 AM
How would you remove the "- Home" in the title of the gallery?

Thank you for you time.
Title: Re: How-To Remove "- Home" in the title
Post by: Joachim Müller 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
Title: Re: How-To Remove "- Home" in the title
Post by: guanche on August 11, 2004, 09:18:58 PM
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
Title: Re: How-To Remove "- Home" in the title
Post by: Casper on August 12, 2004, 12:05:07 AM
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.
Title: Re: How-To Remove "- Home" in the title
Post by: iKwak on August 12, 2004, 08:02:38 AM
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
Title: Re: How-To Remove "- Home" in the title
Post by: Nibbler on August 12, 2004, 03:57:03 PM
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,