joomlaboat / custom-tables

The Custom Tables extension allows you to create, manage, and display custom data on your Joomla site. It is helpful if you need to display data that is not part of the standard Joomla content structure. For example, you could use this extension to create a custom table for product information, customer data, or any other type of data that you need to display on your site. The Custom Tables is the CRUD solution for Joomla 3.x and 4.x - CREATE, READ, UPDATE and DELETE. You can add tables, fields, and layouts to create catalogs, forms, or details pages. It has 40 Field Types: Integer (numbers), Decimal, Text String, Time, Email, Color, Image, File, User, Language, etc.
https://joomlaboat.com/custom-tables
GNU General Public License v2.0
36 stars 11 forks source link

File field type improvement. #6

Closed joomlaboat closed 2 years ago

joomlaboat commented 4 years ago

To add the option to parse the save to folder path to include field values.

Example:

/images/homework/[year]/

[year] is the field in the same table.

That will let large file collections to be archived. And what if the file can be retrieved having generated name and not showing to the end user the real path to the file?

So the store directory can be on diffirent drive for example.

joomlaboat commented 2 years ago

All parameters are processed by Twig

folder path like this /images/homework/[year]/

replaced with twig version /images/homework/{{ "now"|date("Y") }}/