Saturday, May 17, 2008

Creating MOSS 2007 Theme

1. On the SharePoint server go to the Themes folder e.g. c:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\Themes
2. Make a copy one of the existing theme folders and its contents rename it e.g. MyTheme.
3. Rename the .INF file within the MyTheme folder to MyTheme.INF
4. Edit MyTheme.INF.
1. At the info section, Change the title, to MyTheme. Change codepage, e.g. 22200, replacing the code page will fix error “A theme with the name “MyTheme 1011″ and version already exists on the server.”
2. In the titles section, rename the names to your new name. This section is to present the name in the different language.
5. Provide an image to give a preview of your theme. This image should be placed in C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\IMAGES. E.g. tmbMyTheme.gif
6. Modify the c:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\Layouts\1033\SPTHEMES.xml to include a reference to the new MyTheme theme

MyTheme has a white background with blue control areas and orange highlights.
images/ tmbMyTheme.gif

7. Modify the CSS within MyTheme folder to personalize your theme.
8. Run iisreset from the command prompt
9. Apply the new theme to a “test site”.

No comments: