[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1230
  • Last Modified:

SharePoint Calendar - Remove "Add Resources" Option

How do I Remove/Hide the "Add resources option at the bottom of the  Calendar in share point 2010.

Sharepoint Calendar
0
Kevin Robinson
Asked:
Kevin Robinson
1 Solution
 
Rainer JeschorCommented:
Hi,

you can use jQuery to do that.

1. Create a text file with the following content (please adjust the path to the jquery library)
<script type="text/javascript" src="http://dev.dse.local/sites/ee/SiteAssets/jquery-1.8.2.min.js"></script>
<script type="text/javascript">
function HideResources() {
jQuery(".ms-acal-entity-res").hide();
}
_spBodyOnLoadFunctionNames.push("HideResources");
</script>

Open in new window


2. Upload the text file to a library

3. Edit the group calendar page and add a content editor web part
4. Set the content link to the uploaded text file

Voila - add resource link is hidden.

HTH
Rainer
0
 
Kevin RobinsonPrivate VB.NET ContractorAuthor Commented:
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now