"ParentalInclude" plugin, which can includes a parent's module without tags

| No Comments | No TrackBacks

I wrote about the way of including a template module from parent's website in this entry.

There is a plugin which enables it without writing a code with MT tag as below:

<mt:BlogParentWebsite>
<$mt:WebsiteID setvar="website_id"$>
</mt:BlogParentWebsite>
<$mt:Include module="MODULE-NAME" blog_id="$website_id"$>

"ParentalInclude", released by SKYARC System Co., Ltd, anbales you to include a module with simple statement.

With this plugin, you can do it if you wrote a including code like this;

<$MTParentalinclude module="MODULE NAME"$>

*You can set a cache with this modifier.

cache="1"

*You can set a effective cache time

ttl="SECOND NUMBER"

*You can use a ssi with this modifier

ssi="1"

You can download it from this page.

 http://www.skyarc.co.jp/engineerblog/entry/parentalinclude.html

No TrackBacks

TrackBack URL: http://www.mt-j.info/mt/mt-tb.cgi/36

Leave a comment

About this Entry

This page contains a single entry by nick published on February 20, 2010 10:00 PM.

NumericCustomFields, adding a numeric type field to MT's cutom field was the previous entry in this blog.

MT's Twitter tools in Japan is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.