sitedefs

Possible to override site creation in Sharepoint?

We want to customize the "My Site" templates for different roles, say Students and Teachers. So basically we want to have one Site Def. for each and when they press "My Site" we want to create a new site using a different template depending on the role of the user (Student vs. Teacher). Does anybody know if this is even possible? Or any ...

CQWP not querying custom document library of a custom site definition

All, I have created a custom site definition which contains custom document library with custom content types. I need to roll up items from these custom document libraries using a CQWP. For some strange reason when I query site collection, site and even a specific custom document library, I don't see the items being rolled up. All the c...

SharePoint 2010 site definition activation code

I'm currently looking at moving a WSS3 solution to SharePoint 2010. The solution uses VSEWSS and includes some site definitions that make modifications to sites in code. Just wondered how I can replicate this with the site definition project type in Visual Studio 2010? Do I just create a feature with an event receiver and then add the fe...

Using Resources in NavBarLink Url property

Hi Everybody, I'm creating a site definition for sharepoint 2010. I have a problem with the Url Property of the NavBarLink. <NavBar Name="$Resources:SOR,RootSiteDef_Nav_Report;" Url="$Resources:core,lists_Folder;/$Resources:SOR,RootSiteDef_Nav_Report;/" ID="1006"> <NavBarLink Name="$Resources:SOR,RootSiteDef_Nav_Report_ByOwnerAn...