Including a template module from the parent website

| No Comments | No TrackBacks
Kitsune-no-button, an author of the "foxbiz", wrote a entry about the method of including a template module from the parent "website".

With MT5, in this structure,

Website-A
  ├Blog-A1
  └Blog-A2

you can include your Website-A's template module with this code.

<mt:BlogParentWebsite>
<$mt:WebsiteID setvar="website_id"$>
</mt:BlogParentWebsite>

<$mt:Include module="MODULE-NAME" blog_id="$website_id"$>

In addition to that, you can confirm your "website id" with this code;

website_id: <$mt:GetVar name="website_id"$>


Kitsune-no-button wrote more useful information after this article.
Please check out if you are interested.

No TrackBacks

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

Leave a comment

About this Entry

This page contains a single entry by nick published on February 11, 2010 2:42 PM.

UploadDir - specify your assets upload directory - was the previous entry in this blog.

"ViewSite" enables you to view your site from your "System Overview" screen is the next entry in this blog.

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