Quantum Manager | NorrNext Documentation
DocumentationQuantum Manager
  • 🚀Getting started
  • 🛠️Configuration
    • General
    • Images
    • Profiles
    • Permissions
  • Editor Button
  • Replacement of standard Media Manager
  • FAQ
  • 📚Best Practices
    • Scopes
    • Override parameters via Profiles
    • How to automatically create a folder for a user and limit access
    • How to automatically create folders with the current date
    • Long file names and transliteration
    • Image processing during the upload
    • Use of high-quality photos with a free license
Powered by GitBook
On this page
  1. Best Practices

How to automatically create folders with the current date

PreviousHow to automatically create a folder for a user and limit accessNextLong file names and transliteration

Last updated 2 years ago

Ignoring the sorting of files leads to disorder and makes your work slower since the processing of a large number of files in the same folder requires additional time. The best way is to place images to the folders according to its dates. With Quantum Manager you can automatize this process and save a lot of time.

Let's change the first default scope according to our requirements and include variable to the path:

https://www.yourdomain.com/images/{year}-{month}-{day}

Add variables to create folder with date in name

According to such logic, a user of a specific user group (Editor, Author, etc.) will be redirected to the folder with the current date each time they open Quantum Manager. But now let's create a scope for administrators to see all images. We should add custom scope:

Name: All images

Path: https://www.yourdomain.com/images

And now we need to add an override in Profiles:

Select a user group that should have access to All images scope (Administrator, Super Administrator).

  • User Group: Super Administrator

  • Config name: scopescustom

  • Override: none

The result is on the pictures below:

The Administrators can see Images and additionally All images scope to access images root directory.

This is what Managers and Authors see - only specific folders.

All images scope
Give access to Adminisrators via configuration override
Access level for Administrator and Super Administrator
Access level for Editor, Author and Manager
📚
Add variables to create folder with date in name  - Quantum Manager
Give access to Adminisrators via configuration override  - Quantum Manager
Access level for Editor, Author  - Quantum Manager
All images scope - Quantum Manager
Access level for Administrator and Super Administrator  - Quantum Manager