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" website_id="$website_id">
Note
As of version 5.2.7, the Website context exists within other contexts, obviating the need for this tag in some scenarios. In other words, within the blog context, for example, there is no need to use this tag. The above example can be simplified:
<mt:WebsiteID setvar="website_id">
<mt:Include module="Website Header" website_id="$website_id">
George Ali on September 4, 2012, 2:57 a.m. Reply
Shouldn’t I use the symbol ” here too - ?