Change "Home" label in breadcrumb Change "Home" label in breadcrumb
 

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

Change "Home" label in breadcrumb

Started by Slingers, November 08, 2007, 08:03:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Slingers

Hi,

I want to change the home label in the breadcrumb list to read "Category List"

I think this is the code in include\functions.inc.php
Quote$breadcrumb_links = array();
        $BREADCRUMB_TEXTS = array();

        // Add the Home link  to breadcrumb
        $breadcrumb_links[0] = '<a href="index.php">'.$lang_list_categories['home'].'</a>';
        $BREADCRUMB_TEXTS[0] = $lang_list_categories['home'];

But I am not sure how to change it..

If I change - $BREADCRUMB_TEXTS[0] = $lang_list_categories['home'] it does not change and if I change $breadcrumb_links[0] = '<a href="index.php">'.$lang_list_categories['home'] it goes missing.

From this I assume that the word Home is in a language oriented file - How can I change the label - anyone help  ???

just_some_guy

Search the lang file for $lang_list_categories then in that array find

'home' =>

and change the word after the =>
Tambien, Hablo EspaƱol      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

Slingers