I have been creating different views on a list and have noticed that the page title is always the list name regardless of the view that was selected. Is it possible to change the title of Page to that of the view that was selected?
You can do this by modifying the .ASPX page for the view using SharePoint Designer. Just change the contents inside the tags shown below:
<asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server"> Whatever you want to be displayed in the Browser titlebar </asp:Content> <asp:Content ContentPlaceHolderId="PlaceHolderPageTitleInTitleArea" runat="server"> Whatever you want as the title shown on the page </asp:Content>
I've been using it to customize asset library views so the name of the view is included in the title on the page.
Here is a user-facing solution for Sharepoint 2013.
Create a text file called PageTitleAsHeader.js, containing the following code:
<script src="/_layouts/jquery/jquery-1.10.2.min.js""></script> <script> $("#ctl00_PlaceHolderPageTitleInTitleArea_SPTitleBreadcrumb1 > span > a").html(document.title); </script>
- Copy the file into your SiteAssets library and copy its URL.
- Go to your view and Edit Page.
- Insert Web Part - Media & Content - Content Editor.
- Edit Web Part.
- Paste in the URL from step 2 into Content Link.
This will change the onscreen page title (next to the logo) into the same title you see in the browser tab: the list name followed by the view name.