<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Dave Cavins &#187; page title</title>
	<atom:link href="http://davecavins.com/tag/page-title/feed/" rel="self" type="application/rss+xml" />
	<link>http://davecavins.com</link>
	<description>web design, SharePoint customization &#38; random stuff</description>
	<lastBuildDate>Tue, 27 Dec 2011 14:22:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Better page titles in SharePoint</title>
		<link>http://davecavins.com/2009/09/better-sharepoint-page-titles/</link>
		<comments>http://davecavins.com/2009/09/better-sharepoint-page-titles/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 17:36:00 +0000</pubDate>
		<dc:creator>davecavins</dc:creator>
				<category><![CDATA[General SharePoint]]></category>
		<category><![CDATA[SharePoint Design]]></category>
		<category><![CDATA[page title]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://davecavins.com/?p=219</guid>
		<description><![CDATA[When working with multiple browser windows open its hard to tell one from the other because most SharePoint pages don&#8217;t offer a useful title. So in most cases you will see something like this (I am using the dreaded IE 6 unfortunately). As you can see most SharePoint pages only show the title of the [...]


Related posts:<ol><li><a href='http://davecavins.com/2009/12/displaying-document-titles-as-links/' rel='bookmark' title='Displaying document titles as links.'>Displaying document titles as links.</a></li>
<li><a href='http://davecavins.com/2010/06/switch-themes-without-a-page-refresh-part-1/' rel='bookmark' title='Switch Themes Without a Page Refresh: Part 1'>Switch Themes Without a Page Refresh: Part 1</a></li>
<li><a href='http://davecavins.com/2009/02/adding-stuff-to-the-page-head-the-easy-way/' rel='bookmark' title='Adding references to the page head: the easy way'>Adding references to the page head: the easy way</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>When working with multiple browser windows open its hard to tell one from the other because most SharePoint pages don&#8217;t offer a useful title. So in most cases you will see something like this (I am using the dreaded IE 6 unfortunately). As you can see most SharePoint pages only show the title of the page. On the home page of some sites the site name is shown as well.</p>
<div id="attachment_226" class="wp-caption aligncenter" style="width: 353px"><a href="http://davecavins.com/wp-content/uploads/2009/09/pagetitles.jpg"><img class="size-full wp-image-226" title="pagetitles" src="http://davecavins.com/wp-content/uploads/2009/09/pagetitles.jpg" alt="Useless Page Title" width="343" height="235" /></a><p class="wp-caption-text">Useless Page Titles</p></div>
<p>Ideally the page title should not only tell you the title of the page you are looking at but also what site you are on. Chris Coyier of <a href="http://css-tricks.com/whats-the-best-way-to-handle-page-titles/">CSS-Tricks talks more about different options in this post</a>. After some experimenting I was able to get this working in SharePoint.<br />
<span id="more-219"></span><br />
Find the following tag in your page layout.</p>
<pre class="brush: csharp; title: ; notranslate">
&lt;asp:Content ContentPlaceholderID=&quot;PlaceHolderPageTitle&quot; runat=&quot;server&quot;&gt;
</pre>
<p>Out of the box this tag and its contents just show the title of the current page. Put the code below inside the asp:Content tags.</p>
<pre class="brush: csharp; title: ; notranslate">
&lt;SharePointWebControls:ProjectProperty runat=&quot;server&quot;  id=&quot;ProjectProperty1&quot; Property=&quot;Title&quot; /&gt; : &lt;SharePointWebControls:FieldValue id=&quot;HomePageTitleInTitleArea&quot; FieldName=&quot;Title&quot; runat=&quot;server&quot;/&gt;
</pre>
<p>Now your page title should be something like this<br />
Site Name : Page Title<br />
Which is far more useful when you have multiple windows open.</p>


<p>Related posts:<ol><li><a href='http://davecavins.com/2009/12/displaying-document-titles-as-links/' rel='bookmark' title='Displaying document titles as links.'>Displaying document titles as links.</a></li>
<li><a href='http://davecavins.com/2010/06/switch-themes-without-a-page-refresh-part-1/' rel='bookmark' title='Switch Themes Without a Page Refresh: Part 1'>Switch Themes Without a Page Refresh: Part 1</a></li>
<li><a href='http://davecavins.com/2009/02/adding-stuff-to-the-page-head-the-easy-way/' rel='bookmark' title='Adding references to the page head: the easy way'>Adding references to the page head: the easy way</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://davecavins.com/2009/09/better-sharepoint-page-titles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

