hanschuh123

Cant install Templates of an plugin

Vote 0 Votes

Hi folks,

on mt4 ive made some plugins wich install needed indexes by pushing the "Install Template" button in the plugin setting area.

this feature doesnt work fine in MT5 and i cant localte realy good where the problem is.

i only see the lettering link "Install...." the image and the function is missing.

sample, in my yaml im using in mt4 this here:


# application handler
applications:
cms:
methods:
function_name: $PluginName::PluginName::App::CMS::function_name
function_install_templates: $PluginName::PluginName::App::CMS::install_templates

The installer subroutine does not do any wild thing, only this here:

sub install_templates {
my $app = shift;
my $installer;
eval { $installer = MT::Plugin::TemplateInstaller->instance; };
if ($@) {
$app->build_page('get_template_installer.tmpl');
} else {
$app->forward('install_blog_templates',@_);
}
}

my main question, is it possible that this feature/function... on mt5 not realy supported?
whats my mistake?

the only error i become is about my firebug: NS_ERROR_DOM_SECURITY_ERR. but i dont mean this is realy the reason...

Reported on Movable Type 5

2 Replies

| Add a Reply
  • TemplateInstaller is probably broken in MT 5.


  • I would like to introduce you to my company MQPLANET

    Which offers a verity of MT4 solutions and extra functionalities through our wide range of MT4 plugins or developed software

    Please feel free to contact me for any inquiry, or you can also visit our website

    www.mqplanet.com

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1774 6167

Last Topic: Template modules by Zielun on Feb 16, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1434 5088

Last Topic: Maintenance announcement by Nick on Feb 17, 2012

695 2912

Last Topic: Insert Image / File Fails by Russ Miller on Feb 10, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

174 740

Last Topic: Captcha images rendering slowly by ScottM on Feb 12, 2012

190 568

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

222 720

Last Topic: Custom Field for Asset Not Appearing by android on Feb 9, 2012