I would like to be able to run some simple code that have in a feature whenever a new site is provisioned. I created the feature and it works just like I want it to. I left it activated and saved the site template. Now when I create a
new site based on the saved site template the feature activated code no longer runs unless I deactivate and then activate. I know this isn't suppose to work this way, and after much searching on the internet I am finding the feature stapling (not what
I want, that seems to be what I have already done) and SPWebProvisionProvider. The provider might be what I want but I am not sure how it works and there are no good examples on how to get one created in code and where to place it so that a user can
utilize it when creating a new site. Can someone explain this concept to me in ad nauseum detail. Thanks in advance.
View Complete Post