Hi, I'm having a strange problem and I can't find anything about in in the ducumentation.
I have made a dataobject for a travel site that holds som extra fields related to a travel page. I want this to have a field 'Price' => 'Int', which works fine. What doesn't work fine thiÃƒÂ³ug, is when I try to add it to the admin interface via getCMSFields_forPopup. I tried the obvious
$fields->push( new IntField( 'Price' ) );
But there is no IntField...
"Fatal error: Class 'IntField' not found in /home/userB/b0015300/public_html/silverstripe/mysite/code/Departure.php on line 18"
So, the short question is: What's the name of the field holding integers?