Renew the current self-signed certificate using IIS via “Server Certificates”, right-clicking on the current certificate and running the “Create Self-Signed Certificate”. Export this new certificate by right-clicking it. Then run the following PowerShell script using PowerShell ISE with Administrator rights; .’C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\CONFIG\POWERSHELL\Registration\SharePoint.ps1′ $pfxPath = “your file here.pfx” $pfxPass = “your password […]
As shown in one of my earlier posts on SharePoint 2007 we have a need to hide our RibbonRow & Login data from some of our websites to make it more pleasing for people to look at. Doing this is slightly more tricky in 2010 then it was in 2007; 2010 allows less code to […]
Te remove or reset webparts in SharePoint 2007 that you can no longer edit properly simply append ?contents=1 to the URL of the page in question. This will bring up a screen that allows you to edit webparts.
In an on-going effort the create SharePoint template pages we have made a nice piece of code that allows us to hide the login button of the SharePoint Portal site unless users add a specific variable to the URL or unless they are logged in: <% SPUser currentUser = SPContext.Current.Web.CurrentUser; string DisplayLogin = Request[“login”]; if […]