<mt:IfWebsite>
A conditional tag that produces its contents when there is a website in context. This tag is useful for situations where a website may or may not be in context, such as the search template, when a search is conducted across all websites.
Example ΒΆ
<mt:IfWebsite>
<!-- do something -->
<mt:Else>
<!-- do something -->
</mt:IfWebsite>
This page was last updated on 2010-03-11, 04:43.
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.