coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: Slingers on November 08, 2007, 08:03:08 PM

Title: Change "Home" label in breadcrumb
Post by: Slingers on November 08, 2007, 08:03:08 PM
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  ???
Title: Re: Change "Home" label in breadcrumb
Post by: just_some_guy on November 08, 2007, 08:44:41 PM
Search the lang file for $lang_list_categories then in that array find

'home' =>

and change the word after the =>
Title: Re: Change "Home" label in breadcrumb
Post by: Slingers on November 08, 2007, 10:09:21 PM
 ;D ;D ;D

Thanks worked a treat