Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Site Templates

  Asked By: Wendy    Date: Jun 01    Category: Sharepoint    Views: 3132

I have built a customized site template called "Project Site". Basically, I created a WSS Site, customized it and then saved it out to an .stp.

I want this template to be present on the template selection screen.

Our web-designer made some changes some time ago, and now I have to go in and make sure the sites we want are the proper ones and that my new template is there.

By default, when I create a WSS site, on the template selection screen I am offered the following:
- Team Site
- Blank Site
- Document Workspace
- Meeting Workspace
- Blank Meeting Workspace
- Decision Meeting Workspace
- Social Meeting Workspace
- Multipage Workspace
- Project Team Site

These to the best of my knowlege are defined in the "WEBTEMP.XML" file. However, when I open the WEBTEMP.XML file I see them all referenced, EXCEPT for "Project Team Site" which is the old template that I want to replace with my new one.

Question #1: Why is 'Project Team Site' present in the UI list, but not in the WEBTEMP.XML file?

Also, I noticed that there is another XML file in the same folder called: "WEBTEMPPROJECT.XML". When I open up this file, I do see the Project Team site listed.

Question #2: Shouldnt all of the templates all be referenced in a single WEBTEMP.XML file rather than be spread among different files?

Question #3: What is the best (easiest & safest) way to remedy all of this? I want to get everything back to default and add my new templates as recommended.

Any insight would be helpful.. If you need more information or copies of my files please let me know...

Share: 

 

6 Answers Found

 
Answer #1    Answered By: Tejaswani Barve     Answered On: Jun 01

Can't tell if this is WSS v2 or WSS v3. I've assumed WSS v2 but most of
the comments apply regardless. Please see my inline comments...

Question #1: Why is 'Project Team Site' present in the UI list, but not
in the WEBTEMP.XML file?
[Todd] You told us that the Project Team site  is a SharePoint Template
Package (STP) file. That binary file  is stored in the database in the
Site template  Gallery for the site collection where it was captured. If
it was subsequently saved  to a filesystem and then uploaded in other
site collection Site Template Galleries, they will have an additional
copy.


Also, I noticed that there is another XML file in the same folder
called: "WEBTEMPPROJECT.XML". When I open  up this file, I do see the
Project Team site listed.
[Reply] However, this would lead us to think that someone actually
created a Site Definition called  Project Team Site not just an STP file.
If there is indeed a Project Team Site Site Definition, you will have to
set Hidden to TRUE for the Configuration in this XML file so that it
will no longer globally show in this list.


Question #2: Shouldnt all of the templates  all be referenced in a single
WEBTEMP.XML file rather than be spread among different files?
[Reply] No, all files  that begin with the letters "WEBTEMP" in the
..60\TEMPLATE\1033\ directory including your "WEBTEMPPROJECT.XML" file
will be parsed when the WSS v3 Application Pool spins up. So, the
PROJECT (assumed name) Site Definition's Project Team Site Configuration
will show on the Template Picker Page of every Site Collection.


Question #3: What is the best (easiest & safest) way to remedy all of
this? I want to get everything back  to default  and add  my new templates
as recommended.
[Reply] Set the Project Team Site Configuration's Hidden property to TRUE
in the ..60\TEMPLATE\1033\WEBTEMPPROJECT.XML file and upload your STP
file to the Site Template Gallery of each site collection where you want
to see that Site Template on the Template Picker Page.

 
Answer #2    Answered By: Harshita Padwal     Answered On: Jun 01

ubstitute ..\60\TEMPLATE\1033 with ..\60\TEMPLATE\1033\XML in
all my answers below.

 
Answer #3    Answered By: Jennifer Jones     Answered On: Jun 01

One thing though.. I want my template  to be availabel everywhere in my entire farm (not just limited to specific site  collections)...

accross all portals (virtual servers) i want the template picker to look consistent..

does this change anything?

 
Answer #4    Answered By: Annie Norris     Answered On: Jun 01

Yes, you will want to use the addtemplate operation to push your STP
file into the "Site template  Gallery in the sky" that shows STPs
globally as if they were Site Definitions.

 
Answer #5    Answered By: Chadd Hahn     Answered On: Jun 01

What are the advantages of using STSADM to put STP's in the "Site Template
Gallery in the sky" rather than just putting them in the top-level site
gallery (say, using the Web UI)? Don't both appear the same when users
create sites?

 
Answer #6    Answered By: Cheryl Kelley     Answered On: Jun 01

Uploading an STP to the site  Template Gallery in a top-level site makes
that site available in the Template Picker page for any child site of
that site collection.

Putting the STP into the Site Template Gallery in the sky makes that
site available in all site collections in the farm.

 
Didn't find what you were looking for? Find more on Site Templates Or get search suggestion and latest updates.




Tagged: