FilesLoop
Summary
Returns the list of folders within a folder set via the module paragraph settings.
Remarks
Depends on option 'Show subfolders' of the module paragraph settings.
Examples
Basic usage
Notice the use of @item.GetValue to get data from the loop variable.
If you just write @GetValue, the data will be taken from outside the loop.
Similarly, you have to use @item.GetLoop to use loops inside a loop.
Check if the loop exists
Example of usage
The following general example illustrates how to use a loop construct.
Check if the loop exists
Available tags
FilepublishFileDatemodified
Returns the modification date of the file.
@GetDate("FilepublishFileDatemodified")
FilepublishFileLink
Returns the filename of the current file.
@GetString("FilepublishFileLink")
FilepublishFileName
Returns the filename of the current file.
@GetString("FilepublishFileName")
FilepublishFileSizeKB
Returns the file size in kilobytes (KB) of the current file.
@GetString("FilepublishFileSizeKB")
FilepublishFileSizeMB
Returns the file size in megabytes (MB) of the current file.
@GetString("FilepublishFileSizeMB")
FilepublishFileType
Returns the file type of the current file.
@GetString("FilepublishFileType")