HasUrl

Checks if a file exists in the weblayout directory for the current content item.

Type and Usage

Output

  • Returns TRUE if a weblayout file exists.

  • Returns FALSE if no weblayout file exists.

Example

Checks for a web layout file:

<$if HasUrl$>
    <$include doc_url_field$>
<$endif$>