In 2007 as well as it seems in 2010, feature stapling doesn't seem to be applied to templates. I am feeling short on time and was just wondering if anyone has seen some code out there that would work around this issue?
If I find the time I would probably implement it this way:
Create a feature that is webapp scoped that would then activate a site scoped feature and be stapled to all site definitions (global, STS#1). Next, create the feature that is a site scoped that would add an event receiver to the webprovisioned event at the site collection root. That event receiver would go through all web application and site scoped features currently active, and any of those that were setup to be stapled, it would check the basetemplate and configuration, and if it matched it would activate the appropriate feature on the web being created.
Thoughts? Thanks!