Is there a way to remove the 'Updated Pages' links on a wiki page?
I don't want the end user to see these.
Any ideas?
Technology Tips and News
Is there a way to remove the 'Updated Pages' links on a wiki page?
I don't want the end user to see these.
Any ideas?
Hi Garry,
You can use the css style to hide the "Updated Pages" section in SharePoint 2013 wiki page, put in site collection master page or better in each wiki page Content Editor Web Part, here are two articles about this topic for SP 2010, but you can use the approach.
<style type="text/css"> .ms-quicklaunchouter{ display: none; } </style>
http://blog.drisgill.com/2010/09/sp2010-branding-tip-13-hiding-recently.html
http://blog.drisgill.com/2010/09/sp2010-branding-tip-12-hiding-quick.html
Thanks
I found that the best way to hide the 'Updated Pages' link and the 'Recent' link is to use jQuery.
jQuery(".ms-core-listMenu-item:contains('Recent')").parent().hide(); jQuery(".ms-core-listMenu-item:contains('Updated Pages')").parent().hide();
How would I go about this, specifically, using jQuery? I tried pasting in the code into a web part...and obviously that didn't work...hence my reply. ;-)
thank you
For SharePoint 2013:
Create a .txt file (ex: Name it as hide.txt) with the following code and add it to your site assets.
<script src= "http://code.jquery.com/jquery-latest.min.js"
type="text/javascript"></script>
<script type="text/javascript">
jQuery(document).ready(function() {
jQuery(".ms-core-listMenu-item:contains('Updated Pages')").parent().hide();
});
</script>
Go to wiki library page - edit - insert - web part - (categories) media and Content - Content Editor - add.
Then go to Content Editor - Edit Webpart - Insert .txt link from your site assets (Content Link)
Go to appearance - set Chrome type to None - OK.
Done..
For SharePoint 2010:
Same procedure as above but in the code
Edit this line
jQuery(".ms-core-listMenu-item:contains('Updated Pages')").parent().hide();
to
jQuery(".ms-core-listMenu-item:contains(`Recent`)").parent().hide();
done.
For SharePoint 2013:
Create a .txt file (ex: Name it as hide.txt) with the following code and add it to your site assets.
<script src= "http://code.jquery.com/jquery-latest.min.js"
type="text/javascript"></script>
<script type="text/javascript">
jQuery(document).ready(function() {
jQuery(".ms-core-listMenu-item:contains('Updated Pages')").parent().hide();
});
</script>
Go to wiki library page - edit - insert - web part - (categories) media and Content - Content Editor - add.
Then go to Content Editor - Edit Webpart - Insert .txt link from your site assets (Content Link)
Go to appearance - set Chrome type to None - OK.
Done..
For SharePoint 2010:
Same procedure as above but in the code
Edit this line
jQuery(".ms-core-listMenu-item:contains('Updated Pages')").parent().hide();
to
jQuery(".ms-core-listMenu-item:contains(`Recent`)").parent().hide();
done.
That diddnt work - followed it exactly
Hi,
.ms-quilaunchouter{display:none;} did not work.
Try this. It worked for me.
Insert a Script Editor Web Part from Media Content. Click on Edit WebPart then Edit Snippet and add the following:
<style>
#DeltaPlaceHolderLeftNavBar{
display: none !important;
}
</style>
Click on Insert then save your page. The Updated Pages links should be gone now.
You will need to add this onto every wiki page you want it removing from.
Cheers
David
I have this bit of code added to the master page. It works.
<!-- REMOVE THE LEFT HAND NAVIGATION PANEL -->
<style type="text/css">
#sideNavBox { display:none; }
</style>
Steve.
I'm also new to SharePoint 2013 but I found adding
.ms-quicklaunchouter{ display: none; }
to the custom css file used by my custom Master Page to be the answer to the same issue.
I've read Randy Drisgill's book on SharePoint Branding and found it a great resource for customizing my site.
Yeah that's the way to go David. That usually how I apply my scripts to single pages.
It worked thanks!
I got it working with the ".ms-quicklaunchouter" styling in SharePoint 2013...but there was still a bar above the QuickLaunch that I didn't want.
My final solution was this
<style> #DeltaPlaceHolderLeftNavBar hr { display: none !important; } .ms-quicklaunchouter{ display: none; } </style>