Subscribe to William Computer Blog : Entries & Del.icio.us. Add this blog to Technorati Favorites

New blog default templates

MT’s default templates are great but I don’t use them because I like to create my own template. However, everytime I create a new blog on my current movable type installation MT always provide me with a default templates.

I know I can change them, but I don’t want to copy and paste everything to the new blog’s template. So, I decided to change the default template whenever I create a new blog.

After I did a little searching on the MT source code, I found the file default-templates.pl in the MTdir/lib/MT/ directory. Everything is in there and I tested it by creating a new blog on my current MT installation, and I no longer need to copy and paste my templates if I need to create a new blog in the future.

This is not that useful, you don’t usually create more than one blog in your MT installation, but it might be useful in the future incase you need one…

3 comments so far

1. amal 12 Mar 2004

At least two blogs: one for production and the other for development. I am not a designer, so web design initialization is sometimes a horrible process for me.

2. avianto 12 Mar 2004

I have six weblogs in one installation (yeah, yeah, call me crazy… hehehe) and all of them with different layout…

And I found out that the “Link this template to a file” is the wiser way than to change the default-templates.pl, but that’s just my humble opinion.

3. William Pramana 12 Mar 2004

Amal: I am not a designer too, but I do have interest in HTML/CSS, and other web technologies. Some time, designing a web page is a painful process too.

Avianto: I agree with you some time linking a template to a file is a good option but when you want to create multiple blog fast and with your current template. Wouldn’t it be faster if you can create your blog and start blogging instead of spending time copying and pasting.. :)