I have created and saved a Team Site template. When a user creates a new site using this template, I want to ensure the Parent's Master Page is inherited automatically. This is not currently happening even though I saved the template with the publishing feature enabled and the master page set.
What is the best route for activating the feature and setting the MP? If it includes an event receiver, pls show me how to create and attach to the template.