Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SharePoint Calendar - Remove "Add Resources" Option

Posted on 2013-01-15
2
Medium Priority
?
1,204 Views
Last Modified: 2013-01-15
How do I Remove/Hide the "Add resources option at the bottom of the  Calendar in share point 2010.

Sharepoint Calendar
0
Comment
Question by:Kevin Robinson
2 Comments
 
LVL 44

Accepted Solution

by:
Rainer Jeschor earned 2000 total points
ID: 38778370
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
 
LVL 3

Author Closing Comment

by:Kevin Robinson
ID: 38778870
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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages.  For instance, you could add the jQuery l…
In case you ever have to remove a faulty web part from a page , add the following to the end of the page url ?contents=1
Loops Section Overview
Screencast - Getting to Know the Pipeline
Suggested Courses

963 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question