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 Remove "- Home" in the title  (Read 4393 times)

0 Members and 1 Guest are viewing this topic.

iKwak

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
How-To Remove "- Home" in the title
« 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.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How-To Remove "- Home" in the title
« Reply #1 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
Code: [Select]
$lang_list_categories = array(
  'home' => 'Home',
and replace it with
Code: [Select]
$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
Logged

guanche

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: How-To Remove "- Home" in the title
« Reply #2 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
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: How-To Remove "- Home" in the title
« Reply #3 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.
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

iKwak

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: How-To Remove "- Home" in the title
« Reply #4 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.


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
Code: [Select]
$lang_list_categories = array(
  'home' => 'Home',
and replace it with
Code: [Select]
$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

  • Guest
Re: How-To Remove "- Home" in the title
« Reply #5 on: August 12, 2004, 03:57:03 pm »

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

Code: [Select]
<title>{TITLE}</title>
or in theme.php, it is defined here:

Code: [Select]
'{TITLE}' => $CONFIG['gallery_name'] . ' - ' . $section,
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 15 queries.