Not a developer? Go to MovableType.com

Documentation

HasNoParentFolder

This template tag was added in version 6.0.4.

This conditional tag detects when the current folder has no parent folder, meaning it is a top level folder.

Examples

<mt:Folders>
  <mt:HasNoParentFolder>
    <mt:FolderLabel> no parent folder exists here
  <mt:else>
    <mt:FolderLabel> parent folder exists here
  </mt:HasNoParentFolder>
</mt:Folders>
Back

Leave a Comment