Improving Page Titles on a CKS EBE Blog
I’ve been making some more improvements to my blog, which is running on WSS with the Community Kit for SharePoint: Enhanced Blog Edition. All fairly simple stuff, but of course being SharePoint finding the simple changes to make can take some time.
**Adding the post title to the browser title **
You can change the page title from any page easily enough by providing content for the “Title” ContentPlaceHolder. The trick is finding something appropriate to put there. The approach I took was to create a new xsl stylesheet that displays only the title of a post. This I placed in the theme folder, named PostTitle.xsl
<xsl:stylesheet version="1.0"
xmlns:date="http://exslt.org/dates-and-times" xmlns:ebe="http://cks/ebemethods"
xmlns:string="http://exslt.org/strings"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="date ebe">
Then I just had to call it by adding some code to post.aspx:
Previous Post
Creating a Custom Advanced Search Box in MOSS 2007
Next Post
SharePoint Bug - Colleague Tracker and Document List views