I have a site definition, and in this site definition I would like to provision some pages with the webparts when the site is created using this template.
I cannot provision whole the pages library because then you get an error when activating the publishing feature.
How do I do it exactly? So that the pages which I provide are in the library pages and the feature is activated correctly.
I've tried to provision the page with the module in feature but at the end there is nothing in the pages and I cannot find the page anywhere ...
<Module Name="Pages" Url="$Resources:cmscore,List_Pages_UrlName;"> <File Name="Page1.aspx" Url="Page1.aspx" Type="GhostableInLibrary" Path="Page1.aspx" IgnoreIfAlreadyExists="True"> .... </File></Module>