Folders & Collections
Managing the folder hierarchy: creating, renaming, reordering, moving, and deleting folders. Configuring the collection label.
Managing folders
The Folders screen at Setup → Media Hub → Folders is a dedicated management view for the collection hierarchy. This is separate from the library sidebar, which uses the same folders for filtering.
Configurable label
The label is configurable in module settings; you might prefer Collections, Albums, or Galleries. This is a cosmetic setting only: it changes the word displayed throughout the admin UI (sidebar title, nav item, button tooltips, bulk-action menus, empty-state messages) without affecting the underlying data structure or PHP API.
Folder list
Each row shows the folder name and a count of directly assigned assets. Clicking the count jumps to the library filtered to that collection.
Folder actions
- Rename - inline rename without a page reload
- Reorder - up/down arrows to change sort position within the same parent level
- Move - opens a modal showing the full folder tree; select any valid destination (you cannot move a folder into one of its own descendants) and confirm
- Delete - permanently deletes the folder and all its sub-folders. Assets assigned to the folder are not deleted; they simply lose the collection membership.
Creating folders
New folders are created from the sidebar form. An optional Parent dropdown lets you nest a new folder directly under an existing one at creation time.
Multiple memberships
An asset can belong to multiple folders simultaneously. The library sidebar shows the full folder tree for filtering.
Assigning assets to collections from the library
You don't need to open an asset's detail page to manage its collection membership. The library offers two direct ways to do it.
Drag and drop
Select one or more asset tiles in the library and drag them onto a collection row in the sidebar. The assets are assigned on drop. A count badge on the drag ghost shows how many assets are being moved, and valid drop targets highlight as you drag over them. This works from Grid, Masonry, and Table views. For assigning to one collection at a time, drag and drop is the fastest method.
Collections submenu
The ⋯ context menu on each asset tile includes a Collections entry. Clicking it opens a flyout panel listing every collection with a checkbox. The asset's current memberships are pre-checked. Toggling a checkbox adds or removes the asset immediately via AJAX. A Done button closes the flyout; clicking outside or pressing Escape also works.
The submenu is the right tool when you want to assign an asset to several collections at once, or remove a membership without navigating away from the library.