Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
When you create a new site in SharePoint, various templates are used that have been configured to create certain objects (lists/libraries) and activate certain features. Using these templates provides a standard approach to creating sites but if these don't meet your needs you can always modify them.
In this post I'll show you how to modify the standard team site template and remove an entry from the quick launch (calendar link).
NOTE: this will only affect newly created sites, anything that has already been created will need to be modified manually or with PowerShell.
Each version of SharePoint implements the site templates a little differently. I'll show you both SharePoint 2010 and 2013 approaches. Regardless of the approach you'll modify the ONET.XML file for the template to be modified.
By default the quick launch will include certain lists/libraries that are created when the site is created:
To remove the Calendar item in the Lists group:
4. Then navigate to line ~166 and comment it out:
5. Save the file and then do an IISRESET. This will re-cache the object so that when you create a new Team Site, it will use the newly modified version.
6. When you create a new Team Site, notice the Calendar link has been removed:
The process for SharePoint 2013 is similar but a little easier:
3. Again, do an IISRESET to re-cache the file and then create a new site using the Team Site template. Notice the "Documents" link has been removed:
Please sign in to use this experience.
Sign in