I have created a Profile with an Image Field which has a Directory Field as 'files/' then in the box for me to fill in the subdirectory I was hoping to be able to use a Token according to the Username as in [user:name] but when I save the image it goes in a folder '/files/[user:name]/'. It has not created the Folder according to the username.
I have had a look at the 'Token Filter' module, but that does not do it. I think I need the 'File (Fields) Path' module, but that is not in backdrop-contrib.
Is there any way round this?
Recent comments
In a blog post titled "Github Tips and Tricks for Contrib Maintainers", I'd like to see some of the following topics: When is the README sufficient for documentation? When should...
Github Tips and Tricks for Contrib Maintainers
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