Assets Documentation

Total Folders

{exp:assets:total_folders}

You can get the total number of folders matching certain parameters using {exp:assets:total_folders}.

Tag Parameters

{exp:assets:total_folders} supports the following parameters:

parent_folder The path of the parent folder whose subfolders you wish to output.

Set this parameter in the format of either:

{filedir_X}optional/subfolder/path

or

{source_X}optional/subfolder/path

parent_id The ID of the parent folder whose subfolders you wish to output. If this both this parameter and parent_folder parameter is omitted, Assets will loop through all of your EE upload directories and S3 buckets.

keywords A pipe-delimited list of keywords to filter the folders by.

recursive If this is set to “yes”, all nested folders will be returned as well. (Set to “no” by default.)

Support

Having problems setting up and/or using Assets? Support is offered from 10am to 4pm EST weekdays. Send us an email at help@eeharbor.com and we will respond as quickly as we can.