How can I override a default chunk to allow for my own.
Example (and most common use case I imagine)
--------------------------------------------
MyComponent/license.tpl
I wish to be able to create my own "private.license.tpl" since the component I am creating is not open source. However I will write some that are, so I do not wish to simply update the chunk or the core component file.
I would have guess I would have been able to do something like
[[!MyComponent? &chunk_license=`private.license.tpl`]]
Based on a review of the code it does not look like it.
"One of these days I will get around to my own website... Its only been about 12 years... maybe tomorrow

"
It's easier than that. Just create a chunk or file called mylicense.tpl and it will be used automatically and will survive upgrades to MyComponent.
User the existing license.tpl as a starting point.
If you create a file, it has to go in assets/mycomponents/mycomponent/core/components/mycomponent/elements/chunks
You can override any of the default Tpl chunks the same way (by creating a chunk or file with the 'my' prefix).
Note that the license is pulled into a number of other Tpl chunks with the [[+license]] placeholder.
If you need different Tpl chunks for different projects, you can put them in subdirectories below the one above and just copy them all into the chunks directory when you need them. Be sure to do that before running Bootstrap for the first time and always rewrite the project config file and run Bootstrap when you want to add a new file to your project with a license in it.
[ed. note: BobRay last edited this post 13 years, 6 months ago.]
Thanks BobRay,
I thought that I had read that somewhere and scoured through your Docs
http://bobsguides.com/mycomponent-tutorial.html... somehow I skipped right over "Customizing the Tpl chunks" duh I totally see that it is spelled out right there.
Thank you for taking the time to answer
"One of these days I will get around to my own website... Its only been about 12 years... maybe tomorrow

"