coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: jarekn on August 31, 2009, 02:16:56 PM

Title: [Solved]: How to hide HOME in breadcrumb?
Post by: jarekn on August 31, 2009, 02:16:56 PM
Hello,

I know that I can hide the breadcrumbs, but instead of hiding them I just want to hide the first link - that is the Home link.

Any idea which file and what has to be modified?  I am pretty sure it has to be the index.php file but I can't find what it is that needs to be modified :(

Your help would be very much apreciated :)

THANX!
Title: Re: How to hide HOME in breadcrumb?
Post by: jarekn on August 31, 2009, 02:27:03 PM
Found it...
In include/functions.inc
look for the following:

// Add the Home link  to breadcrumb

Under that comment out the next two lines:
// $breadcrumb_links[0] = '<a href="index.php">'.$lang_list_categories['home'].'</a>';
// $BREADCRUMB_TEXTS[0] = $lang_list_categories['home'];

Thats it :)