View Single Post
  #1   IP: 222.184.76.217
Old 2007-06-06, 10:26 AM
topvip topvip is offline
超级版主
 
Join Date: 2006-01-04
Posts: 1206
topvip 正向着好的方向发展
Default Directory Title (site sift)

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:
Code:
 if($settings['bcTitle'] == '1' & $curloc == 'subcat'){ 
        print '<title>'.$title.' '; 
        GetBCrumTitle($page['id'],$myconn); 
        print '</title>'; 
    }
change to:
Code:
 if($settings['bcTitle'] == '1' & $curloc == 'subcat'){ 
        print '<title>'; 
        GetBCrumTitle($page['id'],$myconn); 
        print '</title>'; 
    }
Save and upload the file.
Reply With Quote