• Increase font size
  • Default font size
  • Decrease font size
Customization

Customization

This section describes tips and hits that relate to different areas of SharePoint, but using only Central Administration interface, without any development

Tip #80: SharePoint 2010 new master pages

PDF

SharePoint 2010 ships with 3 new master pages additionally to the default.master page

Let's review those pages:

v4.master
  • Team site masterpage
  • User content pages (lists\content pages\etc)
  • _layouts pages (site settings, etc)
minimal.master
  • For app experiences, like Search or Office Web Applications
  • If you do not need site navigation
  • If you do not have a ribbon
  • If your app needs the space
simple.master
  • For error pages or login pages
  • Not customizable, but pages can be replaced
default.master
  • Show site using legacy interface
  • No Ribbon, no fluency



Digg! Technorati! Diigo! Reddit! Del.icio.us! Google! Live! Facebook! StumbleUpon! Yahoo! Joomla Portal
 

Tip #79: How to activate the Group Approval Workflow

PDF

SharePoint 2007 provides the out-of-the-box (OOTB) approval workflow, but unfortunately this workflow doesn't work with groups.

In some cases you need a "group approval workflow", and to avoid custom development you can use the limited version of the OOTB Group Approval Workflow (few people actually know about this) (http://office.microsoft.com/en-us/sharepointserver/HA100951581033.aspx?pid=CH101176771033). The "limitation" is in the edition of the SharePoint you have installed in your environment, because Group Approval Workflow is shipped only with Asian version of SharePoint 2007, due to "a strong demand on this due to their local management style"

The question for us is how to get this Workflow for the English version of the SharePoint 2007. The answer is quite simple - install one of the supported language packs (Chinese language pack, for example) and Group Approval feature will appear on your English site.

Great thanks to the GuYuming from MSFT for the clarifying and testing such behavior.

 

 



Digg! Technorati! Diigo! Reddit! Del.icio.us! Google! Live! Facebook! StumbleUpon! Yahoo! Joomla Portal
 

Tip #68: Creating DialogBox in SharePoint 2010

PDF

SharePoint 2010 provides you rich JavaScript functionality extending the client model. New functionality comes with the SP.js that locates in 14(Hive)\TEMPLATE\LAYOUTS\SP.js

There are a lot things to play with, but one is really good is creating the DialogBoxes. Everything you need to do use SP.UI.$create_DialogOptions() method.

Sample is here



Digg! Technorati! Diigo! Reddit! Del.icio.us! Google! Live! Facebook! StumbleUpon! Yahoo! Joomla Portal
 

Tip #64: How to restore Site Directory template in SharePoint 2010

PDF

SharePoint 2010 removes Site Directory template, and you can't create it anymore (almost), but for the compatibility reasons the migrated sites will show the Site Directory.

That comes us to idea that Site Directory template still exists in SharePoint, but it is hidden. Ben Curry provided nice description of how to return Site Directory template back to SharePoint 2010.

The solution is to dig webtempsps.xml to unhide features and then activate the "PublishingLayout" feature via

stsadm.exe -o activatefeature -id 5F3B0127-2F1D-4cfd-8DD2-85AD1FB00BFC

And then you are able to create Site Directory.

stsadm.exe -o createweb -url http://sitedirectory -sitetemplate spssites#0 -title "Site Directory" 



Digg! Technorati! Diigo! Reddit! Del.icio.us! Google! Live! Facebook! StumbleUpon! Yahoo! Joomla Portal
 

Tip #63:How to print SharePoint 2010 page without header and navigation

PDF

When you try to print the SharePoint 2010 page you will find that site header and navigation is printed with you content. Very often you don't need that service information and would like to see the page content only.  This can be easily done via the custom CSS  that turns off the unnecessary elements from the printing.

SharePoint 2010 made a step ahead in supporting the page printing, because you need to turn off the elements you don't want to see, and all content is rendered by default. SharePoint 2007 didn't show content in print preview by default, and you should use FireBug or IEDevToolbar to scrutinize the page and find the hidden elements.

The following CSS I created for my SharePoint 2010 project hides all navigation elements for the "Team Site" in SharePoint and change layout to have content aligned by left side. Moreover, I included the SharePoint 2007 styles to provide the same printing functionality without navigation controls, so when you migrate your SharePoint 2007 to SharePoint 2010 your printing preview won't change.

 

/* This CSS removes the header, navigation and other action elements from the print preview  */
/* To use this CSS for PrintPreview just add the <linl> to this CSS with the media="print"   */

@media print
{

/* SharePoint 2010 */

        /* Team Site */
        #s4-titlerow, #s4-statusbarcontainer, #s4-topheader2 { display:none; visibility: hidden; }

        #s4-leftpanel { display:none; visibility: hidden; }
        #MSO_ContentTable { margin: 0 0 0 0 }

 

/* SharePoint 2007 */


        /* CORE.CSS override */
        .ms-leftareacell,.ms-globallinks,.ms-siteaction,.ms-areaseparatorleft,
        .ms-rightareacell,.ms-areaseparatorright, .ms-areaseparatorcorner,
        .ms-titlearealeft,.ms-titlearearight,.ms-searchform,.ms-banner,
        .ms-buttonheightwidth,.ms-buttonheightwidth2
        {
                display:block;
                visibility:visible;
        }        

        /* hide header * quick navigation */
        .ms-globalbreadcrumb { display:none; visibility: hidden; }
        .ms-globalTitleArea { display:none; visibility: hidden; }
        #nav-wrapper { display:none; visibility: hidden; }
        .ms-titlearealeft { display:none; visibility: hidden; }
        .ms-navframe { display:none; visibility: hidden; }
        .ms-nav { display:none; visibility: hidden; }
       
        /* move content to the left */
        .ms-bodyareacell, #above-main { margin: 0 0 0 0 }
       
        /* fonts normalization */
        .ms-formbody { font-size: xx-small}
       
        /* remove the actions buttons */
        .ms-toolbar { display:none; visibility: hidden; }

       /* expanding edit form controls on the width of the screen */

        #onetIDListForm  { width: 100%; } 
       .ms-formlabel { width:20% }
       .ms-formbody {  width: 80%; } 
       .ms-long { width: 100%; }
       .ms-rtelong { width: 100%; height: 400px; }
       .ms-rtetoolbarmenu { width: 100%; text-align: left; }
       TEXTAREA.ms-long { width: 100%; }
       .ms-formbody SPAN SPAN DIV { width: 100%; }

 }

 

 



Digg! Technorati! Diigo! Reddit! Del.icio.us! Google! Live! Facebook! StumbleUpon! Yahoo! Joomla Portal
 
  • «
  •  Start 
  •  Prev 
  •  1 
  •  2 
  •  3 
  •  Next 
  •  End 
  • »


Page 1 of 3

Buy me a coffee and donuts


Disclaimer

Views and suggestions expressed on this site do not necessarily reflect the Microsoft position and we don't hold liablily for tips and recommendations. You should be aware that some information represented on site might be officially unsupported, could potentially damage your SharePoint installation, and could lead to a lack of support from Microsoft.