3.2 Matrix Datatype Suggestion

Author Message

Alex Jones

Thursday 17 July 2003 7:13:19 am

It would be really helpful if we could set up a matrix with pre-defined fields when setting up a class. So, instead of making the editor fill in the same spec name each time (column 1), they would only have to fill in the value (column 2). This would also go a long way towards data and display consistency.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Bård Farstad

Thursday 17 July 2003 7:34:01 am

I agree. What we've thought about was to add definitions to the class setup where you can define the columns ( like today ) and rows. With default data. But you should be able to create different definitions. E.g. you could have different attributes for CD and DVD:

CD
----
Artist:
Year:
Category:

DVD:
---
Actors:
Year:
Format:

You could then select in the object edit, with e.g. a dropdown, which matrix type to use. If you will need the fields for CD or DVD.

--bård

Documentation: http://ez.no/doc

Alex Jones

Thursday 17 July 2003 7:40:33 am

Exactly!

Is this something that I could easily add to the datatype, or would this need to wait until 3.2?

Also, how can I add a button that will add more columns? There isn't a way to do this in the UI from what I can see.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.