« Visitor Stats 1.6: Support for MT 4.1 and New Pro Features | Main | Wordpress Interface for Movable Type »

Convert Blog Templates to Global Templates

Convert To Global Template is a plugin for Movable Type 4.1+ that does exactly what it says: it enables you to convert blog templates to global (system-wide) templates in MT 4.1.

Movable Type 4.1 has a new feature in which you can create template modules and widgets at the system level. These "global" templates can then be included from any blog in the system. This plugin enables you to convert blog-level modules and widgets to global ones, in just a few clicks. Simply check the templates you want to convert, choose "Convert to Global" from the "more actions..." dropdown box, and hit Go.

You can also convert in the other direction, from global to blog level.

Requirements

  • MT 4.1+

Installation

  1. Upload the contents of the 'plugins' folder to the 'plugins' directory of your MT install.
  2. Convert templates as desired from the Blog Templates listing of modules and widgets.

Note: Only users with system admin permissions will be able to see and use this action.

Get Convert To Global Template

This plugin is free to members of MT Hacks.

Download Now

Download Now
Downloads: 173

Rate this entry:

  • Currently 4.5/5
  • 1
  • 2
  • 3
  • 4
  • 5
Rating: 4.5/5 (13 votes cast). Powered by the Ajax Rating plugin.

Comments (17)

Merv Author Profile Page:

Mark,
You continue to amaze us with your continued release of great tools. Having just converted to MT 4.1 I was dreading having to manually move modules to the global templates feature.
Merv

Eric Author Profile Page:

Hi,
I would like to know what makes a usage difference between global templates and your TemplateInheritance plugin?

A good question, Eric.

While there is some overlap in features, there is a key difference. The new MT 4.1 feature only works with modules and widgets. Which may be enough for some sites. But the Template Inheritance plugin enables you to link index, archive, and system templates. This is very useful for multiple blogs that share the exact same look and feel. When update the layout of the index page on one blog, the others will be updated easily. Great for blog networks and company blogs.

Anonymous:

افلام جنس

jeffm2 Author Profile Page:

I have installed the plugin and it is enabled. I have system administrator access but it does not show up in my list of actions.

Any thoughts?

jeffm2, you have provided many details, so I can't say for sure.

Please note that it will only appear in the dropdown action list when you are viewing lists of template modules or widgets. It won't appear in the list when you are viewing index templates, for example.

I have recently upgraded to the Movable Type 4.1. I want to install reCaptcha. I found it from the MT page and followed all of the directions in the Read Me file, except number 8, because it speaks of taking out a line of code in my JavaScript file or in my global file. I don't have a global javascript file and I can't find the line of code in my JS file, yet the plugin doesn't work. Do you have any direction to offer me? I sure would appreciate it!

hi mark.
I have installed the plugin and it is enabled.but i have this error
failed loading package ConvertToGlobalTemplate::App::CMS for routine ConvertToGlobalTemplate::App::CMS::convert_global_cond: Can't locate ConvertToGlobalTemplate/App/CMS.pm in @INC (@INC contains: /home/mobile/public_html/cgi-bin/mt/plugins/WidgetManager/lib /home/mobile/public_html/cgi-bin/mt/plugins/WXRImporter/lib /home/mobile/public_html/cgi-bin/mt/plugins/Textile/lib /home/mobile/public_html/cgi-bin/mt/plugins/StyleCatcher/lib /home/mobile/public_html/cgi-bin/mt/plugins/MultiBlog/lib /home/mobile/public_html/cgi-bin/mt/plugins/spamlookup/lib /home/mobile/public_html/cgi-bin/mt/addons/Commercial.pack/lib /home/mobile/public_html/cgi-bin/mt/extlib /home/mobile/public_html/cgi-bin/mt/extlib lib /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7/i686-linux /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl .) at (eval 41) line 1. at lib/MT.pm line 2453 MT::handler_to_coderef('MT::App::CMS=HASH(0xa4cfc90)', '$ConvertToGlobalTemplate::ConvertToGlobalTemplate::App::CMS::...') called at lib/MT/App.pm line 151 MT::App::__ANON__('HASH(0xaf45770)') called at lib/MT/App.pm line 164 MT::App::filter_conditional_list('MT::App::CMS=HASH(0xa4cfc90)', 'ARRAY(0xa2a0c20)') called at lib/MT/App.pm line 214 MT::App::list_actions('MT::App::CMS=HASH(0xa4cfc90)', 'template') called at lib/MT/App.pm line 2605 MT::App::load_list_actions('MT::App::CMS=HASH(0xa4cfc90)', 'template', 'HASH(0xb263368)') called at lib/MT/App/CMS.pm line 9722 MT::App::CMS::list_template('MT::App::CMS=HASH(0xa4cfc90)') called at lib/MT/App.pm line 2163 eval {...} called at lib/MT/App.pm line 2052 MT::App::run('MT::App::CMS=HASH(0xa4cfc90)') called at lib/MT/Bootstrap.pm line 76 eval {...} called at lib/MT/Bootstrap.pm line 59 MT::Bootstrap::import('MT::Bootstrap', 'App', 'MT::App::CMS') called at mt.cgi line 11 main::BEGIN() called at lib/MT/Template.pm line 11 eval {...} called at lib/MT/Template.pm line 11

Stefan:

Hey Mark,

I love this plugin but I have discovered an interesting problem with its usage.

If you convert all of your local widgets into global widgets using the convert plugin and then try and try to create or edit a widget set all of your local widgets are automatically regenerated.

No global widgets (I have some unique Global widgets) do not appear in the list of widgets when creating a widget set.

I am using MT4.1 Commercial with Pro Pack.

Any clues?

thanks for all

thanks for all


Chad:

Man, i have some problems with the plugin!
Can somebody help me?
By the way, take a look: http://www.vismomedia.com
and get paid for hosting cool videos in your blogs.

If you convert all of your local widgets into global widgets using the convert plugin and then try and try to create or edit a widget set all of your local widgets are automatically regenerated.


دردشة زين



شات صوتي


دردشه صوتيه


Man, i have some problems with the plugin!
Can somebody help me?
By the way, take a look: http://www.t7b.com/dlil

If you convert all of your local widgets into global widgets using the convert plugin and then try and try to create or edit a widget set all of your local widgets are automatically regenerated

http://www.t7b.com/dlil/show80156.html

Stump:

Just gave this a try in a new install of MTOS 4.32. Works for Template Modules both directions and for Global to Blog Widgets, but doesn't show up in the menu for Blog to Global in Widget Templates. Thought you'd like to know.

Post a comment