I have created a new document library template in CAML using the Visual Studio template. I have only made a couple of changes and these are all in the Elements.xml (e.g. to change the title, id etc. I have various customisations that i apply using a list created event reciever that checks the template id and only performs customisations on my library.
My problem is that my event reciever sets the versioning settings and document template, so i don't want these options to appear when the list is created from the front-end (as they'll be overwritten).
Is there any way of customising new.aspx or even better, is there something in my library definition that i can change to control what options are displayed when the library is created.