Solved

SharePoint Calendar - Remove "Add Resources" Option

Posted on 2013-01-15
2
1,099 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 500 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Can I automate process of checking Sharepoint 2010 list values? 1 73
Sharepoint 2010 Audit Logs 11 124
SharePoint 2013 List with Ratings 6 97
Masterpage unexpected error 7 35
If you create your solutions on SharePoint sooner or later you will come upon a request to set  permissions of the item depending on some of the item's meta-data - the author, people assigned as approvers, divisions, categories etc. The most natu…
We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

830 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