Multidimensional field or table field
-
I really like Pods.
But I miss one functionality: multidimensional fields. Or in other words: The user should see fields arranged as a table, in which he can enter data.The Kirby CMS has the “structure” element that works like how I expect. When the editor edits a post (or custom post type) he can input data into a table:
I would like to do this with Pods. Inside the table should it be possible to use any field, that we already know in Pods.
So when I edit a Pod I would like to be able to choose a new …
Field type: Table
Inside this filed, I can add the table fields (they will be the columns later), for example:
Textfield (Dish), Textarea (Description), Numbers (Price)
also possible: Relationship field – and all the others(If you want at 3-dimensional tables you could choose a table field inside the table, but don’t mind it now. Could be a bit too much 😀 )
I would like to set, how many rows the table should have (minimum, maximum),
I would like to choose, if data should be saved to a field with an 2 dimensional array or into f.e. 3 1 dimensional arrays (like dishlist_dish, dishlist_description, dishlist_price).
It would be okay for me, if the user would see the table and can edit directly in the cells.
Kirby makes it like this and shows a field list, if you click on a row:
That would be nice also. It is better for small displays, when you can’t show all columns of the table.
Is there a way to already make something similar with Pods?
Or if not, would that be a nice feature request?The output of the data could be done by php-Template as workaround. Later it would be nice to have working shortcodes for Pod-templates also.
PS: I already read this: https://docs.pods.io/advanced-topics/using-link-tables-for-multi-field-relationships But it isn’t really a solution
The topic ‘Multidimensional field or table field’ is closed to new replies.