http://win-ahvg59orm0m/_layouts/settings.aspx
- then chose Sharepoint Designer setting say ok to all option (I am lazy)
- Restart Sharepoint Designer
The master pages in SPF 2010
A very detailed way of moving around in a master page
Creating a Custom Master Page in SharePoint 2010
Goes to v4.master and edit it
If you designed a custom master page for your SharePoint 2010 and the ribbon is in your way, SharePoint has a built-in control that lets you hide it from anonymous users in few easy steps. Open and check-out your master page, find where your ribbon control starts or look for <WebPartPages:SPWebPartManager id=”m” runat=”Server”/>. Place this control below <Sharepoint:SPSecurityTrimmedControl runat=”server” Permissions=”AddAndCustomizePages”>. Find where your ribbon control ends or look for <div id=s4-workspace> and place the closing control above it </SharePoint:SPSecurityTrimmedControl>. Save, check-in the master page and publish it to see the changes. From now on, only logged in users with the right permissions will be able to see the ribbon on the top.
You can also use SPSecurityTrimmedControl to hide from anonymous users almost any controls you want as long as you wrap it properly.
CheckIn the page
save
Et voila ...
PS: Steve, just add a Sign in link and point it to (/_layouts/Authenticate.aspx?Source=/Pages/default.aspx) so you can login. Once you’re logged in you will see the ribbon again.
No hay comentarios.:
Publicar un comentario