SP2010 Branding Tips
- Turn on anonymous access
- Hide parts when anonymous access
<Sharepoint:SPSecurityTrimmedControl runat="Server" PermissionsString="AddAndCustomizePages">
- Use AlternateCSSUrl Property
- Switch menu to simplified html (UseSimpleRendering="True")
- Customize looks in other browsers/phones (inetpub, App_Browsers/compat.browse)
- Add no support warning for IE6 users <Sharepoint:WarnOnUnsupportedBrowsers runat="server" />
Nice popup: http://code.google.com/p/ie6-upgrade-warning/
- Add Favicons to master <Sharepoint:SPShortcutIcon runat="server" IconUrl="" />
- Exclude a master page style from the dialog boxes (include "s4-notdlg" class or deny effect with .ms-dialog .class {background:none;})
- Don't use #footer style (used by SharePoint already; can use "#Footer" though)
- Fixed with: <div ID="s4-bodyContainer" class="s4-nosetwidth" style="width:960px; margin:auto;">
- Use web.UIVersion = "3" to move to MOSS 2007 look (masterpage with same styles)
Note: ApplyTheme() method works for UI version 3. In version 4, it does not change the master css, but it does copy the files in the 14 hive to the current _themes folder (master can be changed using AlternateCSSUrl property).
Firefox Searchbar working with enter button
<input type="text" name="__spDummyText1" style="display:none;" size=1/>
<input type="text" name="__spDummyText2" style="display:none;" size=1/>
Thanks to Randy Disgill for many of his tips
- Hide parts when anonymous access
<Sharepoint:SPSecurityTrimmedControl runat="Server" PermissionsString="AddAndCustomizePages">
- Use AlternateCSSUrl Property
- Switch menu to simplified html (UseSimpleRendering="True")
- Customize looks in other browsers/phones (inetpub, App_Browsers/compat.browse)
- Add no support warning for IE6 users <Sharepoint:WarnOnUnsupportedBrowsers runat="server" />
Nice popup: http://code.google.com/p/ie6-upgrade-warning/
- Add Favicons to master <Sharepoint:SPShortcutIcon runat="server" IconUrl="" />
- Exclude a master page style from the dialog boxes (include "s4-notdlg" class or deny effect with .ms-dialog .class {background:none;})
- Don't use #footer style (used by SharePoint already; can use "#Footer" though)
- Fixed with: <div ID="s4-bodyContainer" class="s4-nosetwidth" style="width:960px; margin:auto;">
- Use web.UIVersion = "3" to move to MOSS 2007 look (masterpage with same styles)
Note: ApplyTheme() method works for UI version 3. In version 4, it does not change the master css, but it does copy the files in the 14 hive to the current _themes folder (master can be changed using AlternateCSSUrl property).
Firefox Searchbar working with enter button
<input type="text" name="__spDummyText1" style="display:none;" size=1/>
<input type="text" name="__spDummyText2" style="display:none;" size=1/>
Thanks to Randy Disgill for many of his tips
Comments
Post a Comment