<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Movable Type Форум &mdash; Созданный plugin не отображается теги не опознаются в МТ]]></title>
	<link rel="self" href="http://movable-type.ru/forums/feed/atom/topic/433/"/>
	<updated>2010-03-08T07:07:31Z</updated>
	<generator>PunBB</generator>
	<id>http://movable-type.ru/forums/topic/433/sozdannyi-plugin-ne-otobrazhaetsya-tegi-ne-opoznayutsya-v-mt/</id>
		<entry>
			<title type="html"><![CDATA[Re: Созданный plugin не отображается теги не опознаются в МТ]]></title>
			<link rel="alternate" href="http://movable-type.ru/forums/post/2609/#p2609"/>
			<content type="html"><![CDATA[<p>Понял, спасибо...</p>]]></content>
			<author>
				<name><![CDATA[marlik]]></name>
				<uri>http://movable-type.ru/forums/user/79/</uri>
			</author>
			<updated>2010-03-08T07:07:31Z</updated>
			<id>http://movable-type.ru/forums/post/2609/#p2609</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Созданный plugin не отображается теги не опознаются в МТ]]></title>
			<link rel="alternate" href="http://movable-type.ru/forums/post/2608/#p2608"/>
			<content type="html"><![CDATA[<p>Некоторые плагин не должны отображаться в блогах, только на системном уровне. В блогах отображаются только те плагины, которые требуют определённых параметров для конкретного блога.</p>]]></content>
			<author>
				<name><![CDATA[saahov]]></name>
				<uri>http://movable-type.ru/forums/user/2/</uri>
			</author>
			<updated>2010-03-07T10:05:37Z</updated>
			<id>http://movable-type.ru/forums/post/2608/#p2608</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Созданный plugin не отображается теги не опознаются в МТ]]></title>
			<link rel="alternate" href="http://movable-type.ru/forums/post/2604/#p2604"/>
			<content type="html"><![CDATA[<p>Кстати, также не отображаются и еще многие плугины, в частности плугин Update Pings RU 1.0 Андрея Серебрякова, кто знает где засада?</p>]]></content>
			<author>
				<name><![CDATA[marlik]]></name>
				<uri>http://movable-type.ru/forums/user/79/</uri>
			</author>
			<updated>2010-03-05T08:33:03Z</updated>
			<id>http://movable-type.ru/forums/post/2604/#p2604</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Созданный plugin не отображается теги не опознаются в МТ]]></title>
			<link rel="alternate" href="http://movable-type.ru/forums/post/2601/#p2601"/>
			<content type="html"><![CDATA[<p>По руководству на <a href="http://www.movabletype.org/documentation/developer/your-plugin-module.html">http://www.movabletype.org/documentatio … odule.html</a> сделал config.yaml файл:</p><div class="codebox"><pre><code>name: Good for Nothing Plugin for Movable Type
id: Good4Nothing
author_link: http://www.yourwebsite.com/
author_name: Your Name Here
description: This plugin is an example plugin for Movable Type.
version: 1.0
config_settings:
    MyImageURL:
        default: http://www.movabletype.com/images/overview-1.jpg
tags:
    function:
        MyImageURL: $Good4Nothing::Good4Nothing::Plugin::tag</code></pre></div><p> видно что зарегистрировал тег &lt;mt:MyImageURL&gt; , затем добавил плугин:</p><div class="codebox"><pre><code># Good for Nothing Plugin for Movable Type
# Author: Your Name Here, your.email@address.com
# Copyright (C) 2008 Your Name Here
# This file is licensed under the Artistic License, or the same
# terms as Perl itself.
package Good4Nothing::Plugin;


use strict;
sub tag {
    my ($ctx) = @_;
    my $cfg = $ctx-&gt;{config};
    return $cfg-&gt;MyImageURL;    
}
1; # Every module must return true</code></pre></div><p>Так вот, ситуация складывается такая, что этот плугин видно только в основном блоге(где можно создать блог, пользователя), а в других блогах этого плугина нет, и еще одна засада: не опознается в МТ тег &lt;mt:MyImageURL&gt; . Может с правами доступа что, куда рыть, где засада? Спасибо.</p>]]></content>
			<author>
				<name><![CDATA[marlik]]></name>
				<uri>http://movable-type.ru/forums/user/79/</uri>
			</author>
			<updated>2010-03-04T11:14:11Z</updated>
			<id>http://movable-type.ru/forums/post/2601/#p2601</id>
		</entry>
</feed>

