Forums / Developer / Country datatypes / Comment45166
Bruce Morrison
Tuesday 17 January 2006 4:03:09 am
Hi Paul
I've got a couple of data types bundled into an extension that allow a database table, index and label to be defined in a content class. When editing the content object with one of these the user is presented with a dropdown of the options in the defined table. The value from the index column is stored (currently this has to be an integer).
This is extremely handy when integrating external data into Exponential.
I've added this to pubsvn http://pubsvn.ez.no/community/trunk/extension/integrate/ - it still requires some docs, which I'll add soon.
Basically this would allow for the creation of a Country datatype by simply adding a 2 column table with an id & Country Name.
CheersBruce
My Blog: http://www.stuffandcontent.com/ Follow me on twitter: http://twitter.com/brucemorrison Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish