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:
–
I am facing same kind of issue where several of my pages shows
SharePoint:ProjectProperty Title “runat=server” as the Title in the search result.
Is there a way to find which file might have been edited to change the title.
These pages looks to be web part pages but i am not able to reproduce it
Harmeet
January 19, 2008 at 7:58 am
Not quite the same issue, though I suspect that the problem is in the master page. May just be one character missing off the start of that tag.
Tom Clarkson
February 9, 2008 at 10:05 pm
This is great! Thanks!
Lindaci
June 25, 2008 at 3:02 pm
Great post!
Michael Gannotti
July 9, 2008 at 6:21 am
A must have!
It enhances a lot the way google & live.com finds and show your posts!
Enrique
September 22, 2008 at 3:07 am
Hi Tom,
Good idea! I’ve implemented this functionality in the latest sources. The next EBE version will have your idea by default.
Keep up the great work…
René
René Hézser
February 19, 2009 at 8:17 am
Thanks a lot for this quick and easy solution!
Steve Ruiz
August 27, 2009 at 10:50 am