The Windows 8 Start menu allows users to pin sites from Internet Explorer as tiles. SharePoint 2013 provides a simple control to manage how the tile looks and what icon to use. In this recipe, we will customize the tile settings with our customized master page.
Follow these steps to customize the Windows 8 Start menu tile for pinning sites using a master page:
seattle.master
(for our example, we have renamed it Seattle_Windows8Tile.master
).Seattle_Windows8Tile.master
master page.Seattle_Windows8Tile.master
master page.<SharePoint:SPPinnedSiteTile>
element.<SharePoint:SPPinnedSiteTile runat="server" TileUrl="/_catalogs/masterpage/resources/SimpleSmiley.png" TileColor="#d17601" />
The SPPinnedSiteTile
server control outputs <meta>
tags to the <head>
element of the SharePoint page when rendered. When Internet Explorer on Windows 8 pins a site, it will look for these <meta>
tags when creating the pin. In this recipe, we provided a custom image and color to be used when adding these tags. This replaces the default SharePoint logo and the blue color.
13.58.44.229