Hide “Sign In” LInk – SharePoint 2013

If you want to hide the Sign in Link which is displayed into the welcome control, what you have to do is to put the Welcome control into some div and assign ID to that div. After that use style=”display:none” in that div. Now the main thing is to put below code after the closing of the welcome control div

<Sharepoint:SPSecurityTrimmedControl ID=”SPSecurityTrimmedControl” runat=”server” PermissionsString=”AddAndCustomizePages”>

<scripttype=”text/javascript”>

document.getElementById(“id of div containing welcome control”).style.display = “block”;

</script></Sharepoint:SPSecurityTrimmedControl>

What the above code is doing is displaying the welcome control div to only users having”AddAndCustomizePages” permissions and not users having least permission on site.

AppFabric Installation Failed on Windows Server 2012, MSI returned error 1603

Issue:

While installing the preReqs for SharePoint 2013 i stuck at AppFabric installation when i got error “Appfabric installation failed because installer MSI returned with error code:1603″. After a long search i found the solution which i am listing here as well.

Solution:
Open RegEdit and search “PSModulePath”, you will be shown the following screen:

Right click PSModulePath and select Modify…

At the end of Value Data you will find an extra ” which needs to be removed. Once removed, re try the installation and it will be successfull.

SharePoint 2010 Problems and Solutions: Common Issue

Failed to call GetTypes on assembly Microsoft.Office.Server.Search, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c. Could not load file or assembly ‘System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find the file specified.

 

Resolve:

– Download & install MSChart.exe: http://www.microsoft.com/en-us/download/details.aspx?id=14422

– start Windows Sharepoint Services Search

– Reboot server

 

Creating Fixed Width websites in SharePoint 2010

Sharepoint 2010 pages are rendered with flexible layout i.e. they stretch as according to the browser resolution. Flexible layout pages are not desired for public websites as it would damage the look and feel of the website. For this reason most  websites are created with fixed width pages.  Creating fixed width sites in Sharepoint 2010 is acheived by making few CSS tweaks to Sharepoint Master page style sheets.

The default Sharepoint 2010 flexible layout sample is shown below

Default Sharepoint 2010 layout

 

Adding the below CSS code to the core.css file  will change the Sharepoint 2010 site layout to fixed width and the websites will appear consistent in any browser resoution

 

body{
overflow:auto !important;
}


form
{
width:980px;
margin: auto;
}

Sharepoint 2010 website after applying the fixed width tweak will appear as below

 

Sharepoint 2010 fixed width website

To learn more about IOTAP Sharepoint website development and branding visit
Sharepoint WCMS page