How to remove (hide) the Ribbon, All Site Content and Recycle from your SharePoint 2010 site

How to remove (hide) the Ribbon, All Site Content and Recycle from your SharePoint 2010 site

Now, if you have a public facing SharePoint site and not into the full branding scene, then you might want to remove (actually hide) the ribbon from the top, and remove the All Site Content and Recycle Bin. After a bit of digging and asking questions and learning more than I dreamed, I managed to get these details…

First off, dust off SharePoint Designer 2010, open it up, open your site and load up the Master Page (Master Page section and v4master).
Then, to remove the Ribbon, all you have to do is:

1:     Locate this line:

<div id=”s4-ribbonrow” class=”s4-pr s4-ribbonrowhidetitle”>
2:      Change it to:
<div id=”s4-ribbonrow” class=”s4-pr s4-ribbonrowhidetitle” style=”display:none”
3: Search for <div id=”s4-workspace”> and insert a new line above it. Copy and Paste the following into that blank line.
<Sharepoint:SPSecurityTrimmedControl ID=”SPSecurityTrimmedControl2″ runat=”server” PermissionsString=”AddAndCustomizePages”>
<script type=”text/javascript”>
document.getElementById(“s4-ribbonrow”).style.display = “block”;
</script>
</Sharepoint:SPSecurityTrimmedControl>

 

Job done for that bit. And even simpler, to remove the All Site Content link and Recycle Bin, do the following:
1: Search for </HEAD> and insert a blank line above. Copy and paste the following into that blank line.

 

<STYLE>
.s4-specialNavLinkList
{
display:none !important;
}
</STYLE>

 

Job done for that bit. Save the file and you’re good to go. Oh and before I go, there’s another blog that describes how to force the theme onto a public facing sharepoint foundation site that has anonymous access here:
https://serviceautomation.online/scblogspace/Lists/Posts/Post.aspx?ID=97
Hope this helps!

SharePoint Implementation – A Plan is Needed!

SharePoint Implementation – A Plan is Needed!

Had a chat with a friend in the pub talking technical over a whiskey and rum, and got into a reminiscent of the good ole days of writing databases in DOS (Nantucket Clipper and dBase – remember that?! Wow). I was asked about SharePoint and the coding for that and then someone piped up saying it was an application, and that started a whole new discussion. How do you take SharePoint as an application? Is it one? How does it ‘develop’? Hrm… Time to get theoretical and a blog is brewing…

SharePoint in an organisation is not data independent like an application may be. It is a centralised platform and therefore defined as a core system in an organisational information processing environment. A software application is designed to perform singular or multiple specific tasks to solve problems, like accounting software, office suites, graphics software, media players. Is SharePoint any of those? Nope, it’s a platform that allows users to create manage their own online content which could include output from any of those applications I’ve just mentioned.

Now, SharePoint of course can be made to produce transactions based on sharing and can even be defined to produce workflow like responses and outputs, such as sales, shipment of goods etc.). And because this is ‘created’ from organisational requirements as a part of the way they collaborate and share data, that transactional work in producing documents and records for sales is simply one aspect of the platform. And it is this platform that provides all of this data reporting, statistics and analysis for management and aids the decision making process.

SharePoint grows in an organisation as do all the entities with in (e.g. sites, repositories, workflows, connected databases, forms etc.). Even though these applications are interrelated, not all are developed at the same time. Priorities are set.

As a person embarking on implementing SharePoint there’s no point in saying “YAAAY, install it straight away and deal with the integrations later”. You can guess that is not going to solve any information or management challenges the client has (as I’ve described in my book a great deal J )

So, when you develop your SharePoint project plan, make sure that you follow a Design, Plan, Build and Operate format. Whilst you build on that plan you will be amazed to see how deep your SharePoint implementation has to be. Not only does the implementation need to capture the essence of collaboration in the organisation. The implementation must also serve as an evolutionary step to ensuring SharePoint grows with the organisation and stays integrated with the clients’ vision and applications.

I’ve provided a Project Planning Template designed in Microsoft Project format so you can download that and modify. It is located here:

https://serviceautomation.online/project-plan/

This has been made generic so that you can modify and detail the relevant tasks associated with your implementation of SharePoint, and bears no direct relationship to any implementations I have managed, neither do the resources assigned directly match and I would strongly suggest that you review the plan with the client to ensure their requirements are encapsulated.

Of course, this template works in close conjunction with my book (Managing and Implementing Microsoft SharePoint 2010 Projects) so make sure you get a copy from here:

http://www.microsoft-press.co.uk/scripts/product.asp?ref=189322

How to remove (hide) the Ribbon, All Site Content and Recycle from your SharePoint 2010 site

Public Facing SharePoint Foundation Site – Anonymous access – No Theme!

Just had to blog this one – are you running with a public facing SharePoint Foundation site will find that anonymous users will not see any theme you apply, and instead will see the default even if you change it to something else?
Found a way to get around this, you will need to force the master page to accept the CSS relevant to the theme chosen.
Here’s the steps:

 

1: Choose the Theme you want to apply to your Foundation Site.
2: Open the site with Microsoft SharePoint Designer 2010.
3: Navigate to All Files/_themes.
4: The _themes folder contains a subfolder with the generated items for the selected theme. The selected theme should correspond to a folder “number” (e.g. 2).
5. Locate the first of the “CORE” CSS files.  Right click on Properties to see its title, location, etc. Copy the Title value (you should get something like this: /_themes/0/COREV4-118E1E6A.CSS).
6. Edit the master page for your site (e.g. v4.master). Then add a tag on the next line following the SharePoint:CssLink tag:
<SharePoint:CssRegistration runat=”server” name=”[TARGET-TO-THE-CORE-CSS-FILE-FROM-STEP-5]” EnableCssTheming=”true” After=”true”/>
Eg:
<SharePoint:CssRegistration runat=”server” name=”/_themes/0/COREV4-118E1E6A.CSS” EnableCssTheming=”true” After=”true”/>

 

Note.
If you have access to the relevant content database, you can double check this number by looking at the DefTheme column value of the corresponding dob.Webs table record.

Hope this helps​

SharePoint Implementation Project Plan Available

SharePoint Implementation Project Plan Available

Been asked a lot for a Project Planning Template in Microsoft Project format (versions below) showing the flow of a SharePoint 2010 / 2013 / 2016 implementation, so I’ve crafted a format you can use. I’ve purposely made it generic, so you can modify and detail the relevant tasks associated with your implementation of SharePoint and its version.

(more…)

GEPBACKUP2010 and 2013 – automated script generation utility to backup SharePoint 2010 and 2013 Sites

GEPBACKUP2010 and 2013 – automated script generation utility to backup SharePoint 2010 and 2013 Sites

Introduction

From a conversation I had with a SharePoint Administrator:

“Eeee. The client wants site by site backup – that’s going to take me a while to sort out. I need to backup 500 sites via command line but want to know how big the sites are. I also need to know how long each backup took. I know SharePoint has Powershell but I simply don’t have the time to write a script – also, I only want to backup sites which have changed either today, this week, or just want to backup them all up”.

(more…)