Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a site definition folder with following structure,

  • XML
  • default.aspx
  • MasterPageabc.master
  • masterpageabcajax.master

In XML folder I have "ONET.XML" and I looked into this file, and realized that there isn't any GUID ID in it, just four section and a title, was wondering if changing the title gonna solve the problem for me or not ?

Structure of ONET.XML

<xml....>
<project Title ....>
<Navbars>
<ListTemplates>
<DocumentTemplates>
<Configuration>
<Modules>
<serverEmailFooter>
</project>

All i see is Title that I can change :S

I changed the Title, and copied the renamed Folder, ONET.XML(Title of template) and pasted it in

"Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\SiteTemplates"

then I renamed the copy "WEBTEPxxxxx" to my Site Definition Name, in folder

"Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\1033\XML"

I can see the New template in the List, it creates a new site as well, but the created Site is blank, when I checked setting it says, the Master Page isn't right or something.

Cheers

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

Changing ID and feature ID did the trick.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.