I'm building a portal system, with a modular sidebar... and so far its working great: http://xen1.8wayrun.com/portal/ The only real issue I have is that for each module, I have to manually create a template for it. When I release this system publicly, I don't want to have to force administrators to create templates for their modules. I would like to be able to add templates to the master list automatically. I realize I could do this by creating an "add-on" for the module; but then I could imagine the add-on list getting extremely large and cumbersome... when it would only be just 1 real addon, and then 30 modules for that addon. So my question, is there a way to create (and in the reverse, delete) master templates through code?