The Movable Type Knowledge Base

Can't Find Included Template Module

Question

When saving an entry or rebuilding, I get an error that says Build error in template '[Some Template Name]': Error in <MTInclude> tag: Can't find included template module '[Some Module Name]'.

Answer

This error means you've used the <MTInclude> tag in the specified template to call a Template Module, but Movable Type cannot find that module.

Look on the Templates : Modules tab1 and confirm that you've created a module by the name referenced in the error message.

If you do not see the module listed, you will need to either create it, or remove the <MTInclude> tag which references it from the template causing the error.

If you've recently updated your Individual Entry Archive template to use the latest default code, some changes have been made for the Javascript cookie code. Instead of being included directly in the template, the Javascript is now stored in a separate Template Module called Remember Me.

So, in order to use this new default template, you must also create a new module named Remember Me to accompany it, using the default template code.

Also, the template names are case-sensitive, so if the module name in the error message does not match exactly to the name of the actual module, you must change one of them to match the other.

1 In versions prior to 3.2, navigate to Templates and scroll down to the Template Modules section of the page.

Submit Feedback on This Article

Your comments on how we can improve this article are appreciated; but please do not use the feedback form to submit support requests or questions. We will not respond to or publish such queries submitted through this form. If you have a technical question or problem, visit Movable Type Support.

Yahoo! Small Business web hosting services

Six Apart
Makers of weblog software and services for individuals, organizations and businesses.
This website is powered by Movable Type.