I've been playing around with the data module a bit. It's a welcome
enhancement of Magnolia. It its current state it's very limited
though - if I did not miss something.
Whenever you have structured data you will need the ability to
reference other data nodes, e.g. products <--> product categories or
committees <--> committee members with their function <--> people.
There is no easy way to do this in the data module as of now - or
again: At least I could not find it.
To fix this, I propose the development of the following:
Data TreeBrowser
- Lists the nodes (especially also mgnl:contentNodes) on certain
repository (in our case "data")
- Lists only a certain type, i.e. "data" module type -> see config /
modules/data/config/types
- At this point I'm not sure if the actual data node knows anything
about its type. I have not checked the meta data yet.
- Maybe the type is defined by the path, so on should be able to
limit the TreeBrowser to a certain path as defined in /modules/data/
config/types/[my_type]/rootPath
- Define which fields should be displayed (Only the "name" will
probably not do)
- Ability to filter, especially when there are many records?
- Ability to sort?
dataUuidLink Control
- Allows the referencing of a single data node of a certain type
- Calls the TreeBrowser described above for the selection of the node
- Acts like the uuidLink control
dataMultiselect Control
- Allows the referencing of multiple data nodes of a certain type
- Calls the TreeBrowser described above for the selection of the node
- Acts like a combination of the multiselect control and the
uuidLink control
Questions - also to the Magnolia staff:
1. Are these features not implemented somewhere yet?
2. Would you be interested if these features would be added? Is this
the right way to do it?
3. Who would like to help?
Regards,
Will
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------