Log in

View Full Version : Directory Title (site sift)


topvip
2007-06-06, 10:26 AM
Q:
Hi

Is there a way to display my chosen title on the homepage & then when browsing the directory the relevant breadcrumb titles display without my main title being appended before it.

ie. homepage title = Test Directory

Browse Cat1, the title displayed = Cat1

Browse Cat1, subcat3, the title displayed = Cat1 > subcat3

Where currently it displays = Test Directory > Cat1 > subcat3

Basically as the title of my directory is a long name I dont want it being appended to the title when people browse deeper into the directory.


A:
Open /include/myfunctions.ini.php

About line 199 find:
if($settings['bcTitle'] == '1' & $curloc == 'subcat'){
print '<title>'.$title.' ';
GetBCrumTitle($page['id'],$myconn);
print '</title>';
}


change to:
if($settings['bcTitle'] == '1' & $curloc == 'subcat'){
print '<title>';
GetBCrumTitle($page['id'],$myconn);
print '</title>';
}

Save and upload the file.