With help from others in the Backdrop zulip chat, the private file path can be configured in the settings.php or settings.local.php using either relative or absolute paths. To do this, add the following line:
$config['system.core']['file_private_path'] = '../files_private';
The private file path will show in the GUI at admin/config/media/file-system and it leaves the default download method as public, however modules that require private files such as backup_migrate and the demo module for snapshots will use the path. The default download method can be changed to private as needed.
Subsequently, changing the private file path in the GUI will likely not work as it will be overridden by the settings.php or settings.local.php configuration. Nonetheless, there are cases where this approach may be useful.
Recent comments
Hey there! That error message is definitely a head-scratcher. Even though you uninstalled Views, it sounds like something is still referencing a Views-related constant. Maybe a custom module or...
VIEWS_STORAGE_OVERRIDE
Thanks Alejandro. That was the clues I needed.
Ubercart - Programmatically add product to cart and straight to Checkout
Have you tried uc_cart_add_item()? You need to provide the nid of the product. Then you can use backdrop_goto('cart/checkout'); to send the user to the checkout screen. uc_cart_add_item...
Ubercart - Programmatically add product to cart and straight to Checkout
No problem, let's see how it evolves. I'd be happy to provide a suggested version if i could. I will keep that in mind and try learn this hook chain hopefully very soon. I will...
File hashing uploads made through TinyMCE
I could request hashing support, but that's the lazy way 🤣 I would appreciate it if you as an active maintainer would 'officially' add a hashing support...
File hashing uploads made through TinyMCE