<mt:BlogParentWebsite>

Block tag to retrieve the parent website context from the child blog context.

Example ΒΆ

You can get the parent WebsiteID from the child blog template to include website templates.

<mt:SetVarBlock name="website_id"><mt:BlogParentWebsite><mt:WebsiteID></mt:BlogParentWebsite></mt:SetVarBlock>
<mt:Include module="website header" blog_id="$website_id">
This page was last updated on 2010-03-11, 07:33.

Leave a note

Have a question? Please use the MT Forums. Notes submitted on documentation should pertain to tips & hints regarding documentation. Your note may be removed once its contents have been integrated into the body of the page.