BigCommerce - Hosted Ecommerce Software by Interspire

Interspire Forum

 
Go Back   Interspire Forum > Interspire Knowledge Manager Community Forum > Customization and Integration

 
 
Thread Tools Display Modes
  #1  
Old 12-12-2006, 07:47 PM
MetroWebDev + MetroWebDev is offline
Interspire Customer
 
Join Date: Dec 2006
Posts: 2
Default Where can I change the Page Title

I want to change the page title on my question pages so that they don't start with the Knowledge Base's name, but instead just show the question as the title. Right now the format is [Knowlegebase Name] :: [Question].

I appreciate any help. I can normally navigate my way around the php files and templates, but this one is stumping me.
  #2  
Old 02-02-2007, 04:44 AM
Rodney A Rodney A is offline
Senior Member
 
Join Date: Jan 2006
Posts: 149
Default

You just need to change the title in all the .html files in the base template directory to have

HTML Code:
<title>%%Page.Title%%</title>
instead of

HTML Code:
<title>%%Config.KnowledgebaseName%% :: %%Page.Title%%</title>
  #3  
Old 09-24-2009, 08:58 PM
websnail + websnail is offline
Interspire Customer
 
Join Date: Jul 2008
Posts: 1,548
Default

To stop the duplication of the KB title on the index/main page here's a quick fix:

Open: /includes/classes/class.index.php

Find:
PHP Code:
$GLOBALS['AKB_CLASS_TEMPLATE']->SetPageTitle($GLOBALS['knowledgebaseName']); 
Replace with:
PHP Code:
//$GLOBALS['AKB_CLASS_TEMPLATE']->SetPageTitle($GLOBALS['knowledgebaseName']); 

No idea why anyone actually thought that repeating the title in the bar was a "good idea" but hey... that kills it dead.
__________________
ShoppingCartCommunity - Community Forum, Mods, Hacks, Add-ons & a growing KB (was InterspireD)
SnailSolutions Mod Shop - for Royal Mail Adv, Max Chars, Currency Converters, etc...
Web Mollusc appreciation fund (Paypal: info [at] websnail.net)
  #4  
Old 09-27-2011, 06:52 AM
omnicom + omnicom is offline
Interspire Customer
 
Join Date: May 2008
Location: California
Posts: 9
Default Doesn't Work! Please Help

Quote:
Originally Posted by websnail View Post
To stop the duplication of the KB title on the index/main page here's a quick fix:

Open: /includes/classes/class.index.php

Find:
PHP Code:
$GLOBALS['AKB_CLASS_TEMPLATE']->SetPageTitle($GLOBALS['knowledgebaseName']); 
Replace with:
PHP Code:
//$GLOBALS['AKB_CLASS_TEMPLATE']->SetPageTitle($GLOBALS['knowledgebaseName']); 

No idea why anyone actually thought that repeating the title in the bar was a "good idea" but hey... that kills it dead.
I agree but I can't seem to get this to work?!? Would anyone please confirm that this actually works and maybe point out any obvious mistakes?

I am using the Embedded Template, but that shouldn't make a difference based on the instructions above so why is the name of the KB still in all the titles?

Thank you in advance for your help.
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump