We are talking about 3.5.x, right?
see my answers inline

On Tue, 2008-01-08 at 15:57 +0100, Will Scheidegger wrote:
> 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")
did you try to specify "repository" property for your tree control? It
should work.

>       - Lists only a certain type, i.e. "data" module type -> see config / 
> modules/data/config/types
Normally, you have your data organized in some structure so it is just a
matter of configuring tree control to show only certain subtree of your
data repository.

>               - 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)

you can easily modify the dialog to add extra properties if adding
something to the data repository manually or implement ImportHandler to
add those extra properties when importing data into repository.

>       - Ability to filter, especially when there are many records?
>       - Ability to sort?

In the repository browser directly or in the tree control for selecting
items?
>       
> 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

should be possible with configuration of existing controls or by
extending them. I've done this already before just not remember exactly
how ... would have to dig in for examples.

> 
> 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?

If you have extra controls to work with data repository and its content,
I'll be happy to review them and possibly include.

HTH, Cheers,
Jan

> 
> Regards,
> Will
> 
> ----------------------------------------------------------------
> for list details see
> http://documentation.magnolia.info/docs/en/editor/stayupdated.html
> ----------------------------------------------------------------


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to