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

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

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