Showing posts with label Master Page. Show all posts
Showing posts with label Master Page. Show all posts

Friday, February 15, 2013

Access Denied When Trying to Create a New Page on a Publishing Site

According to my project. user have to created a new page on SharePoint 2010 publishing page them-self.
But when it the test stage. I got this problem when i log into SharePoint publishing site with contribution privileged.

The account can't create a new page and got the access deny pop up page.
I've found the solution refer to the following blog related with MOSS 2007 but it still works on SharePoint 2010 as well.

http://sharepointsharpener.wordpress.com/2009/02/06/access-denied-when-trying-to-create-a-new-page-on-a-publishing-site/

The solution is just to check the permission on the master page and page layouts document library that allow your user to access them.

Tuesday, July 10, 2012

Replace Delegate Control – SmallSearchInputBox

I've got a task to change the OOTB SharePoint search box control and I found this links is useful to customize it and prevent the search results keyword from "This site scope"

http://sharepointroot.com/2011/05/25/replace-sharepoint-delegate-control-smallsearchinputbox/

First step is to register the search box assembly to the master page files.

<%@ Register Tagprefix="SharePointWebControls" Namespace="Microsoft.SharePoint.Portal.WebControls" Assembly="Microsoft.Office.Server.Search, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

Then Replace SharePoint controls search box which is the syntax like this
SmallSearchInputBox" Version="4"/>

With this one


The search box property can be found on MSDN reference link here

Hope this helps,
PJ