16.01.2013 Views

Microsoft Sharepoint Products and Technologies Resource Kit eBook

Microsoft Sharepoint Products and Technologies Resource Kit eBook

Microsoft Sharepoint Products and Technologies Resource Kit eBook

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

816 Part IX: Maintaining a Server in Windows SharePoint Services<br />

Themes<br />

Icon property to zero by typing the following comm<strong>and</strong>s in a comm<strong>and</strong>-prompt<br />

window:<br />

CD \Program Files\Common Files\<strong>Microsoft</strong> Shared\web server extensions\60\BIN<br />

stsadm.exe -o setproperty -pn days-to-show-new-icon -pv 0 -<br />

urlYour_Virtual_Server_URL<br />

A theme is a unified set of design elements that influence the fonts <strong>and</strong> color<br />

schemes when you apply it to a website. Applying a theme is a quick <strong>and</strong> easy way<br />

to ensure your site is visually consistent <strong>and</strong> appealing.<br />

Each Windows SharePoint Services site <strong>and</strong> subsite has its own theme setting<br />

that can be configured using the browser. You can also add your own custom<br />

themes, as detailed in the following procedure. When you apply a theme, it will not<br />

affect the layout of your site. In addition, applying a theme will not change any individual<br />

Web pages that you have applied themes to by using a Web page editor compatible<br />

with Windows SharePoint Services, such as FrontPage 2003. When you<br />

create pages, the default theme is applied automatically. If you change or remove<br />

the default theme, the change is applied to the entire site.<br />

To apply or remove a theme on your site, you must have the Apply Themes<br />

And Borders right for that site. The Apply Themes And Borders right is included by<br />

default in the Web Designer site group.<br />

To add a custom theme to the list of available themes<br />

By default, you are provided with 20 themes to choose from on the Apply<br />

Theme To Web Site page. If you want to add a custom theme, complete the following<br />

procedure:<br />

1. On the navigation bar, click Site Settings, <strong>and</strong> then, in the Customization<br />

section, click Apply theme to site.<br />

2. In the Address bar on the browser, replace the file name themeweb.aspx<br />

with spthemes.xml.<br />

For example, if the Address bar showed http://server_name/_layouts<br />

/1033/themeweb.aspx, you would change the path to http://server_name<br />

/_layouts/1033/spthemes.xml.<br />

3. Edit the XML file, <strong>and</strong> add a new section for your custom theme, similar to the<br />

following code:<br />

- <br />

newtemplateid<br />

NewTemplateDisplayName<br />

Description<br />

../images/image.png<br />

../images/image.gif<br />

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!