${file:hasFile()}

Checks if the given page, or optionally any of its child pages, has at least one not-hidden File.

Example

${file:hasFile(page, recursive)}

Function Information

Function Class: com.semanticcms.file.taglib.Functions
Function Signature: boolean hasFile(com.semanticcms.core.model.Page, boolean)
Display Name: None