Author Topic

Pål J Didriksen

Monday 11 July 2005 3:54:16 am

Comment19325

I added some code to treat the 'ezdate' datatype, under <i>function parseContentToText( &$datatype )</i>:

           case 'ezdate':
                print "parseContentToText 5: Case ezdate.<br>";
                $content = $datatype->title();
            break;

I suppose this should work for most datatypes (except those that save data as xml), as the function <i>title()</i> formats the data that should be saved in the data_text-field. I have only tested it for ezdate, though.