I am using sharepoint 2010 and VS2010. I created a site collection by the publishing site template. I dont want to use the "save as template" because it is not supported in a publish template. Also the workarounds to use it I dont like them.
I would like to create my first custom web template in VS. Someone told me to copy the onet.xml of the publish site template and add the lists : calendar, announcements, tasks, links. Someone told me also to not create a site definition but create an web element.
Can someone tell me where to begin or referer me to some tutorial?
Is it like to create an empty sharepoint project in VS and add an empty element. After this I copy the onet.xml xml code to my created element?
And how do I add the lists (calendar, announcements, tasks, links) to my homepage in differant zones?
I hope someone can help me.
ps. The reason why I would like to start with the onet.xml from the publish site template is because the site collection where I would like to use this custom web templaate is a publish template.
See here an example of what I would like to build in VS: