Monday, September 26, 2005

Movable type 3.2 upgrade woe: new templates

I was having the same problem as in this posting to the MT forum after upgrading to the new 3.2 templates by copying them in from the default_templates directory or from the movable type templates website:


The footer on my main index seems to be incorrectly displayed:
%%time"> | | (0)

1- %% shouldn't be displaying
2- It should say Posted by xyz on August 19, 2005 02:00 PM | Permalink | (0)
3- '>' shouldn't be displaying
4- the permalink should be displaying


It turns out that the problem is due to the fact that the new templates in MT 3.2 are really templates for templates in that they contain special tags for internationalization that need to be parsed and replaced with the real template content before you use the templates. So, the default_templates cannot be just pasted in directly.

The simple solution: Create a new blog. This will have the default templates by default (funny how that works). You now have available any of the default templates that have been fully localized to your blog's language and can now be copy and pasted right into your existing blog.

No comments:

Post a Comment