Forums / Developer / custom content class

custom content class

Author Message

justin kazadi

Tuesday 16 September 2008 9:13:54 am

hello all,
i have created an custom content class named "shop" .i want to store the information on the sex (M or F) and password but i don't see the datatype who will help me to do this. i want a datatype for radio button and password .

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

Maxime Thomas

Tuesday 16 September 2008 3:42:43 pm

Hi Justin,
You can put a selection attribute in your content class to put the male or female choice. As far as I can remember you only can have a dropdown box for this one else if you override some templates...
For the password, I'm not sure that it is recommanded to store password in content. You may do that by creating a new datatype.
Look at ezpedia.org for more information.
Hope it helps !

Maxime Thomas
[email protected] | www.wascou.org | http://twitter.com/wascou

Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas