background preloader

Sharepoint

Facebook Twitter

SharePoint 2010 How to hide the recycle bin and the all site content links. Sometimes you wish that your users or the users of your customer could not click or see the links like recycle bin and all site content.You can deactive the recycle bin or set permissions to not see the all site content, but what if that does not fit to the rest of your SharePoint Site? What if you do not want to deactivate it? Well, it is not that difficult as you might expect. Step 1: Add a Content Editor Webpart to your site you can also add the css-stylesheet for the class in master page or your custom css file. But then it will hide the recycle bin and the link all site content on each page.

So if you only want to hide these on a certain page it would not help to put it into the masterpage. This css code changes / overwrites the original css file. Step 2: Hide the content editor webpart Et voilá – the result of the left side. As you can see you cannot see the recylce bin nor the all site content Hope this helps you to hide some functionality of SharePoint. Blog: New kalmstrom.com Tip: How To Add JavaScript To SharePoint. To help you get the most out of your SharePoint site, Peter Kalmstrom, Microsoft certified SharePoint expert and CEO of kalmstrom.com Business Solutions, has published another demo to the kalmstrom.com Tips section.

JavaScript + SharePoint = great possibilities JavaScript used in a SharePoint site creates a powerful combination. You can put JavaScript in the master page of the site, so that it affects all pages, and you may also make a page layout that affects some pages or only one. With his new demo Peter wants to push those in the right direction who know how to use JavaScript but have not yet tried it with SharePoint.

There are a lot of instructions on more advanced details available out there but not so much on how to actually do it in the right way from the beginning. Hello World dialog As a simple example Peter shows how to integrate a dialog with the text "Hello World" in a SharePoint 2010 site with the help of JavaScript ‒ and how to make it stay there!