So the first one is to show, how can you hide the Recently Modified box from the Quick Launch area, in a Wiki Page Library.
Create a new site with a Wiki Page Library
You should get something like this
As you can see there is a, sometimes, annoying Recently Modified box in the Quick Launch.
So check how to hide it in 2 easy steps.
1. Edit Master page in Sharepoint Designer
Ok open your site, go to Master Pages and edit the file V4.master in Code view
2. Paste the following in code between Head tag
Ok now paste this code anywhere between the tag Head and save the changes
<style type="text/css">
.s4-recentchanges
{
display:none;
}
</style>
.s4-recentchanges
{
display:none;
}
</style>
3. YAY!!! Refresh your site and its done.
If you want to keep in touch, feel free to Subscribe to How I did it - Sharepoint Foundation 2010
Bless you for posting this easy fix! Thanks that was very annyoing!!
ReplyDeleteAwesome tip..
ReplyDeleteGreat tip, take my first born as payment.
ReplyDeleteGlad I could help ;)
Deleteawesome !!!
ReplyDeleteWorked Perfectly! Thanks.
ReplyDeleteWelcome Prynka.
DeleteYou just saved my day Pedro :-)
ReplyDeleteJørgen
(Norway)
Any way to do this without having access to Sharepoint Designer?
ReplyDeleteYes its possible to do it without SharePoint Designer. Just follow the steps.
Delete1. Go to Site Settings > Master Pages
2. Check the v4.master file and download a copy to your desktop
3. Edit the copy with notepad or other text editor
4. Add the css code between the head tag and save the file.
5. Go back to your Master Pages and upload the new document, overwriting the older one.
That should do it. If you have any trouble give a shout.
And if your rights are so limited, that you don't have access to the master pages, try a Content Editor Web Part in your page, which is link to a text file with this short Javascript code:
Delete(Please with opening and ending script tags, which I'm not able to write here)
d = document.getElementsByTagName('div');
j=0;
var cl = new Array()
for(i=0;i<d.length;i++){
if(d[i].className == 'ms-quickLaunch s4-ql s4-recentchanges'){
cl[j] = d[i];
j++
}
}
cl[0].setAttribute('style', 'display:none');
BR