SharePoint Stuff

A collection of helpful tips and resources on maximising the value from a SharePoint Portal Server and Windows SharePoint Services Implementation.

Monday, August 28, 2006

Global Design Banner Change to SPS

I have been trying to implement a global design banner change to my SPS site and after fiddling around for a long long long time I finally got it all working. If anyone ever needs to go down that path.
1. Follow the steps in "Applying a Custom Banner". The following is the various folders that exist in Program Files\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\1033 where you need to update the default.aspx and which sections they control.
SPS Home
SPSBWEB To create bucket Web sites
SPSCOMMU Communities
SPSMSITE Site Registry
SPSNEWS Subareas under News
SPSNHOME News Home
SPSPERS MySite
SPSTOC Topics Home
SPSTOPIC Topic
STS WSS Sites

Contrary to the MS article all these changes update are the Area Home Pages, Site Summary Page and Search Pages.

2. The content pages still have the default template and you need to manually update each of the following files
allitems.aspx
dispform.aspx
editform.aspx and
NewForm.aspx

for each of the following content areas
ANNOUNCE
CONTACTS
CUSTLIST
DATASRCS
DISCUSS
DOCLIB
EVENTS
FAVORITE
GRIDLIST
IMGLIB
ISSUEList
Temp
TASKS
VOTING
WEBTEMP
WPLIB
XMLFORM

for each of the relevant areas in 1. Meaning if you want to update the Document Library pages within any section that uses the Home Template you need to update the 4 aspx files in \1033\SPS\LISTS\DOCLIB. Similarly if you want to update the Survey pages in a section that uses the News Template you need to update the 4 aspx files in \1033\SPSNEWS\LISTS\VOTING. etc etc etc

3. To update all the admin pages you need to update PortalHeader.aspx in \Program Files\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\LAYOUTS\1033. Make sure you keep all the SPSWC line and then add your design changes following it.

What I also did find out is that in theory all SPS sites are built off ONET.XML contained in the relevant /SPS??/XML folder. However you need to make the changes to the ONET.XML file BEFORE creating the Portal Site. However if you update the ONET.XML file then SPS doesn't create the portal site and returns an error.

Also most of the admin pages have the following tag

string alternateHeader = SPControl.GetContextWeb(Context).AlternateHeader;
if (alternateHeader == null alternateHeader == ""){

which is why any changes made to PortalHeader.aspx in 3. above affects all admin pages. An idea would be to include this tag in all the user aspx pages so while you still need to initially update all pages manually, all subsequent changes only need to be made to one file.

Finally, if you update any page on SPS using Frontpage 2003 you can then no longer update it directly via the file system. For example if I update the SPS home page using Front Page, then any subsequent changes I make to \1033\SPS\default.aspx will no longer be valid and won't feed through to the user.

1 Comments:

At 10:28 PM, Blogger Search Engine Optimization said...

This is Some few SEO interview Questions? I like to Answers On this,Let us Discuss On this question. web design company, web designer, web design india

Give me a description of your general SEO(search engine optimization) experience.
Do you currently do SEO on your own sites and give me some examples. Do you operate any blogs?
Do you currently do any freelance work and do you plan on continuing it?
Where do you think the SEO industry is headed?
What industry sites, blogs, and forums do you regularly read?
Have you attended any search related conferences?
What SEO tools do you regularly use?
What SEO areas are you weak and strong in, and give examples of both.
What areas do you think are currently the most important in organically ranking a site?
Do you have experience in copywriting and can you provide some writing samples?

 

Post a Comment

<< Home