Master dialog pages
So you created a great all new master page for your Sharepoint site, but all the dialog pages (i.e. Acces Denied, Unknown Error...) are still in the "Default" style?
Yeah, I know...
You have to edit the "simple.master" file in the following folder:
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS
And to apply all styles all over again....
Hide "SiteActions" menu
If you want to hide "SiteActions" menu from the unauthorised users, just wrap it in the SPSecurityTrimmedControl Control in the Master page, ie:
<SharePoint:SPSecurityTrimmedControl PermissionsString="ManagePermissions" runat="server">
<PublishingSiteAction:SiteActionMenu runat="server" />
</SharePoint:SPSecurityTrimmedControl>
In the "PermissionsString" attribute you can set to which users you can show SiteActions menu.
Zac Smith explained in his blog possible values for PermissionsString:
http://zac.provoke.co.nz/archive/2007/05/31/spsecuritytrimmedcontrol-possible-values-for-permissionsstring.aspx
This blog post has moved to
a new address. If you would like to leave a comment,
please do it there.