Not a developer? Go to MovableType.com

Plugin and Theme Directory

Template Hammer v1.0

By Six Apart
Posted September 21, 2007, in MT Tags, Templates, Widgets.

Details

Want to simplify your templates to remove all of the includes? Just smash 'em with the Template Hammer, and you'll get flat HTML versions of your templates with just the basic MT Template Tags needed to output your site. It's a great way to learn what the default MT4 templates really look like, or to get versions of new templates that will look familiar to users of older versions of MT, such as 3.x or 2.x.

Note: This plugin only works with Movable Type 4.

Compatibility

Movable Type versions: 4.3 Verified


Back

10 Comments

stavrosthewonderchicken on September 24, 2007, 7:22 a.m. Reply

What actually happens here? What does ‘register a list filter’ mean?

If I run this against a bunch of templates, does this create flat, include-less copies, or does it alter the templates? Or is it (I’m not clear on this ‘list filter’ thing) just a view of the templates, which remain unchanged? If if it changes the templates by replacing them with flattened ones, is there any way to go backwards (given the complexity of the originals)?

Beau Smith on September 28, 2007, 11:53 a.m. Reply

The Template Hammer plugin replaces the selected default modularized (with includes) templates with flattened (include-less) versions.

Template Hammer registers a filter in the “More actions…” menu at the top of the template listing which is used to perform the “hammering” or flattening of templates.

You can revert to the original template by choosing “Refresh templates” in the “More actions…” menu.

Applying a design (or skinning) Movable Type’s default templates will be much faster using the default modularized templates because each piece of shared code is one place. For example, if you want to edit the header of your blog, you edit the Header template module… or if you want to edit the layout of comments, there is only one place that you have to do this.

Flattening your templates will allow you to see the full template all at once. This is great when you are just starting to learn about the Movable Type, but when you begin to extend MT and create new templates it will take longer… you’ll have more code to manage overall, the redundant code in your templates will easily become out of sync and errors are easier to make.

I highly recommend climbing the small learning curve to understand the default modularized templates, you will quickly see the utility and efficiency they will bring to managing Movable Type templates.

Jesse Gardner has created a great visual diagram of how the abstracted templates are assembled together.

Violet on March 7, 2010, 1:18 p.m. Reply

The diagram that’s referred to in the last sentence above now resides on Jesse’s plasticmind site:

http://blog.plasticmind.com/movable-type/mt3-vs-mt4-templates/

But, of course, it’s now superseded by MT5.

Scroll down to the section labeled Websites in this mt.org post by Beau Smith and check out the diagrams for the changes in architecture, etc. in migrating from MT4 to MT5.

matthewwilson1121

matthewwilson1121 on August 29, 2016, 9:41 a.m. Reply

Here are the india’s pride most popular Prime Minister Narendra Modi Gallery. You can free to download narendra modi full image from our website.

supert

supert on March 7, 2017, 11:09 p.m. Reply

Thanks for the development of this plugin works perfectly

caiu na net videos de sexo videos porno pornô amador

風景

風景 on August 29, 2017, 1:53 a.m. Reply

Great Article! This category you will find Wallpapers of Movies to put on your Mobile, Visit: 映画, Games Wallpapers: ゲーム Wallpapers of Women: 女性 and Check out this beautiful girl Alzbeta Trojanova Wallpaper

Filmes Online X

Filmes Online X on November 15, 2017, 2:57 p.m. Reply

Olá meu nome é Carol, eu achei muito interessante esse plugin … é um ótimo site de plugins, eu recomendo visitando um site de Filmes Online, lá vamos vão ver vários tipos de Filmes Online HD. Eu recomendo visitar é um excelente site de Filmes Online HD, encontre Filmes Online X de Ação, Terror, Comédia, Ficção, Aventura … São Bons Filmes Online HD para você assistir, visite o site que é: Filmes Online HD, e Caso vocês queiram ver Videos de Sexo, Eu indico para vocês um ótimo site de Videos de Sexo Online, lá tem muitos Videos de Sexo para poder Assistir, eu espero que todos vocês gostem desse site de Videos Porno, visite: Videos de Sexo.

Hello, my name is Carol, I found this plugin very interesting … it’s a great site for plugins, I recommend visiting an Online Movies site, there we go and see several types of HD Movies Online. I recommend to visit is an excellent site of Online HD Movies, find Movies Online X of Action, Horror, Comedy, Fiction, Adventure… Are Good Movies Online HD for you to watch. The link is just above the name: Filmes Online HD.

and If you want to see Sex Videos, I indicate to you a great Sex Videos Online site, there are many Sex Videos to watch, I hope you all enjoy this Porn Videos site. The link is just above the name: Videos de Sexo.

Patricia Feh

Patricia Feh on November 15, 2017, 3:39 p.m. Reply

Muito bom mesmo esse plugin, eu achei muito bom. visite o meu perfil no behance que é Patricia feh e me segue gente, o link esta logo ai em cima! e veja meu resumo que eu trabalho como blogueira no blog de Filmes Online HD, confira: Patricia Resume, e visite o perfil da minha amiga que é Bru, obrigada.

Starting your Business

Starting your Business on November 15, 2017, 5:03 p.m. Reply

Confira abaixo as categorias do site adulto, são muitos videos de sexo para poder ver.

Check out the adult site categories below, there are many sex videos to see. TOP Amador Anal Asiáticas Brasileiras Bundas Grandes Bucetudas Boquetes Coroas Estrelas Pornô Gordinhas Loiras Lingerie Morenas Mulatas Milf Novinhas Peitudas Ruivas Short Tatuadas

Find Wallpapers

Find Wallpapers on March 4, 2018, 10:30 a.m. Reply

Nice! GooPag is a social network that in addition to containing all the functions of other social networks, you can monetize and make profits with your page, group or profile. Check out: Go

Leave a Comment