Forums / Developer / How can i creat a new datatype like option?
sangib das
Thursday 19 October 2006 5:33:02 am
Hi all I want to add a new datatype like option? need help............... Thanks and regardSangib
Claudia Kosny
Thursday 19 October 2006 11:31:20 am
Hi Sangib
if that is related to your previous problem http://ez.no/community/forum/developer/how_to_create_multi_checkbox_like_multi_optionyou should rather just change the templates. If you have a problem with that please first check the comments I have posted there and if necessary post your current template there, I will have a look at it.
Creating new datatypes is not the easiest thing to do, so I would try to use existing EZ datatypes as much as possible. If you really need to create a new datatype, here is a short introduction (which is for an older version of EZ, but most is the same): http://ez.no/products/ez_publish/documentation/development/extensions/datatypes/new_datatype Also check the comments in the file \kernel\classes\ezdatatype.php, there are quite useful.For working examples check the datatypes in the contributions and play a bit with them.
Greetings from Luxembourg
Claudia