Similar to the Image Gallery, a user may see as many folders (tabs) in the Modules tab as you've configured for your Plugin application. For example, below you may see 3 folders in the Library of custom modules called “My blocks”, “Template blocks”, “General blocks”.

Because they were configured this way on the application details page.

In this section, you can manage:

  • the number of folders;
  • their names. You have the option to specify what names a created folder should have in every supported language;
  • the path to modules that should be stored in particular folders; 
  • and can even grant the respective permissions.

Important to note: At this stage, the custom modules can be saved only to the first folder.
We do not yet have the option to choose which folder you would like to save the modules to. This is something that is on our road map so this will be definitely implemented a bit later due to other urgent things we are working on now.

According to the configurations, every time you initialize plugin you pass on the userId params so that the final key assigned to every module looks like this: account_${userId} (where the "${userId}" is the value of the account).

You can set up the second folder (For example "Template blocks") with the path like account_000000 (instead of "000000" you can transmit anything you want) and transmit the accountId=000000 when you initialize the plugin as an Admin.
In this case (when you're the admin) you will also save all Modules to the "My blocks" folder, but all modules from this folder will be also visible to all other users in the "Template blocks" folder, as we placed the static value account_000000 in the path for the "Template blocks" folder.

Please be advised that you can turn off this feature so that the Library section won’t be displayed in the editor at all. In this case, there won’t be an option to save selected elements from the context menu.

If you have any questions please email at support@stripo.email or ask them in chat.

Did this answer your question?