Components
Media Library
Integrations
Configurable schemas
The Media Library is built entirely using Schema-components which makes it incredibly flexible. This allows you to insert or modify components throughout the entire library.
A configurable schema represent an array of components that are visually related. For example, the "list files" or "file info" (sidebar) component.
Usage
In this example we will take the FileTopbarSchema as an example, which is the section containing the breadcrumbs and the Create folder action. Now, we would like to insert one more action:
This gives the following structure of $components:
SectionFlexBreadcrumbsCreateFolderAction
Then, finally we will insert our custom action class:
For each configurable schema you can click through to the source of the plugin to verify the exact schema-structure that is returned. Sometimes the structure is quite nested and you need to dig a few levels deep to find the actual content components that you are interested in.
If you require assistance regarding a certain customisation, e-mail me at support@ralphjsmit.com.
Available configurable schemas
The below list gives an overview of the available schemas:
ExplorePage\FileTopbarSchemaExplorePage\FileFilterSchemaExplorePage\ListFilesSchemaExplorePage\FileInfoSchema