class ATMultipleFields(atapi.BaseContent): schema = atapi.Schema(( atapi.StringField('foo'), atapi.FileField('file1'), atapi.ImageField('image1'), atapi.ImageField('image2', sizes={'mini': (50,50), 'normal' : (100,100)}), atapi.TextField('text'), ))
from Products.Archetypes import atapi from Products.ATContentTypes.content import base from Products.ATContentTypes.content import schemata # -*- Message Factory Imported Here -*- from rendereasy.origine import origineMessageFactory as _ from rendereasy.origine.interfaces import IFoto from rendereasy.origine.config import PROJECTNAME FotoSchema = schemata.ATContentTypeSchema.copy() + atapi.Schema(( # -*- Your Archetypes field definitions here ... -*- atapi.ImageField('arquivo', storage=atapi.AnnotationStorage(), widget=atapi.ImageWidget(label=_(u"Foto"), ), required=True, validators=('isNonEmptyFile'), sizes={'foto': (1248, 702)}), atapi.StringField( 'legenda', storage=atapi.AnnotationStorage(), widget=atapi.StringWidget(label=_(u"Legenda"), ), ), )) # Set storage on fields copied from ATContentTypeSchema, making sure # they work well with the python bridge properties. FotoSchema['title'].widget.visible = {"edit": "invisible", "view": "invisible"} FotoSchema['title'].required = False FotoSchema['title'].storage = atapi.AnnotationStorage()
from Products.Archetypes import atapi from Products.ATContentTypes.content import folder from Products.ATContentTypes.content import schemata from isaw.facultycv.interfaces import Iprofile from isaw.facultycv.config import PROJECTNAME profileSchema = folder.ATFolderSchema.copy() + atapi.Schema(( atapi.ImageField( name='Image', sizes=None, widget=atapi.ImageWidget( label=u'Profile Image', label_msgid='isaw.facultycv_label_ProfileImage', il8n_domain='isaw.facultycv', ), required=False, searchable=True, accessor='profileImage', ), atapi.ReferenceField( name = 'ProfileRef', widget = atapi.ReferenceWidget( label = u'Profile reference', ), relationship = 'owned_profile', multiValued=False, ),
default_content_type='text/html', default_output_type='text/html', required=0, searchable=1, ), atapi.ImageField( 'logo', widget=atapi.ImageWidget( label=_(u"label_general_logo", default=u"Logo"), description=_( u"help_buzz_logo", default= u"Add a logo for the case study (normally the customer logo). Max 150x75 pixels (will be resized if bigger)." ), i18n_domain='ploneservicescenter', ), sizes={ 'large': (768, 768), 'preview': (400, 400), 'view': (250, 250), 'mini': (200, 200), 'thumb': (128, 128), 'tile': (64, 64), 'icon': (32, 32), 'listing': (16, 16), }, ), atapi.ReferenceField( 'provider', widget=atapi.ReferenceWidget( label=_(u"label_psc_provider_cat", default=u"Provider"), description=_(
from bika.lims import logger from bika.lims import bikaMessageFactory as _ from bika.lims import deprecated schema = Person.schema.copy() + atapi.Schema(( atapi.LinesField('PublicationPreference', vocabulary_factory= 'bika.lims.vocabularies.CustomPubPrefVocabularyFactory', default='email', schemata='Publication preference', widget=atapi.MultiSelectionWidget( label=_("Publication preference"), )), atapi.ImageField( 'Signature', widget=atapi.ImageWidget( label=_("Signature"), description=_( "Upload a scanned signature to be used on printed analysis " "results reports. Ideal size is 250 pixels wide by 150 high"), )), atapi.ReferenceField( 'Departments', required=0, vocabulary_display_path_bound=sys.maxint, allowed_types=('Department', ), relationship='LabContactDepartment', vocabulary='_departmentsVoc', referenceClass=HoldingReference, multiValued=1, widget=atapi.ReferenceWidget( checkbox_bound=0, label=_("Departments"),
u'help_image_anchor', default= (u'Used only when the link is internal to the site. ' u'Use this field to obtain an internal link to a section of the target document' )), size=30)), atapi.ImageField( 'image', required=False, storage=AnnotationStorage(migrate=True), languageIndependent=True, max_size=zconf.ATNewsItem.max_image_dimension, schemata="Advanced", sizes=None, validators=(('isNonEmptyFile', V_REQUIRED), ('checkNewsImageMaxSize', V_REQUIRED)), widget=atapi.ImageWidget(description=_( u'help_smartlink_image', default= u"Will be shown views that render content's images and in the link view itself" ), label=_(u'label_smartlink_image', default=u'Image'), i18n_domain='redturtle.smartlink', show_content_type=False)), atapi.StringField('imageCaption', required=False, searchable=True, schemata="Advanced", widget=atapi.StringWidget( description='',
from Products.Archetypes import atapi from Products.ATContentTypes.content import base from Products.ATContentTypes.content import schemata from Products.ATContentTypes.content import document # -*- Message Factory Imported Here -*- from Products.DssPageTypes.interfaces import IDssTwoCollumnPage from Products.DssPageTypes.config import PROJECTNAME from Products.ATExtensions.ateapi import * DssTwoCollumnPageSchema = document.ATDocumentSchema.copy() + atapi.Schema(( atapi.ImageField( name="medTopImage", widget=atapi.ImageWidget( label=u"Top Image", description=u"this is a large top image", ), ), atapi.StringField( name="imageCaption", widget=atapi.StringWidget( label=u"Image Caption", description=u"Image Caption Here", ), ), atapi.StringField( name="insettitle", widget=atapi.StringWidget(label=u"Small Collumn Title", description=u"This text will be blue"), ),
description=_( u"help_casestudy_body", default=u"Enter the details description about this case study." ), i18n_domain='ploneservicescenter', ), required=0, searchable=1, ), atapi.ImageField( 'logo', max_size=(150, 75), widget=atapi.ImageWidget( label=_(u"label_psc_logo", default=u"Logo"), description=_( u"help_casestudy_logo", default= u"Add a logo for the case study (normally the customer logo). Max 150x75 pixels (will be resized if bigger)." ), i18n_domain='ploneservicescenter', ), ), atapi.ReferenceField( 'provider', relationship='providerToCaseStudy', allowed_types=('Provider', ), vocabulary_display_path_bound=-1, vocabulary="getProvidersReferences", widget=atapi.ReferenceWidget( label=_(u"label_psc_provider_cat", default=u"Provider"), description=_(
description="Entrer l'adresse du site web de l'organisme.", size = 40) ), atapi.LinesField('focal', required = False, enforceVocabulary = True, vocabulary_factory = "istsida.vocabularies.points", widget = atapi.InAndOutWidget( label="Point focal", size = 5) ), atapi.ImageField('logo', required = False, original_size = (800,600), sizes = { 'preview' : (400,400), 'mini' : (200, 200), 'tile' : (64,64), }, widget = atapi.ImageWidget(label="Logo",) ), atapi.TextField('address', searchable = True, default_output_type = 'text/x-html-safe', widget = atapi.RichWidget( label = "Coordonnées", description = "Adresses, téléphones, e-mails,...", rows = 5) ), atapi.TextField('contact', searchable = True, default_output_type = 'text/x-html-safe',
from Products.Archetypes import atapi from Products.ATContentTypes.content import base from Products.ATContentTypes.content import schemata from Products.ATContentTypes.content import event # -*- Message Factory Imported Here -*- from Products.IssEvent.interfaces import IIssEvent from Products.IssEvent.config import PROJECTNAME from Products.ATExtensions.ateapi import * IssEventSchema = event.ATEventSchema.copy() + atapi.Schema(( atapi.ImageField( "eventimage", widget=atapi.ImageWidget( label=u"Event Image", description=u"Image to display with the Event", ), ), atapi.StringField( "eventimagetitle", widget=atapi.StringWidget( label=u"Image Title", description=u"Title of image to display with the Event", ), ), atapi.StringField( name='eventroom', vocabulary=["220", "1400", "3711"], widget=ComboWidget(label="Room Number", ), ),
searchable=1, vocabulary=SPECIAL_INTERESTS_LIST, widget=atapi.SelectionWidget( label=u"Special Interests", description=u"Area of special interest", type='radio', ), ), atapi.ImageField( 'member_image', widget=atapi.ImageWidget( label=u"Member Image", description=u"Photo of the member", ), sizes={ 'large': (768, 768), 'preview': (400, 400), 'mini': (200, 200), 'thumb': (128, 128), 'tile': (64, 64), 'icon': (32, 32), 'listing': (16, 16), }, ), atapi.TextField('body_text', required=0, searchable=True, default_content_type="text/html", default_output_type="text/x-html-safe", widget=atapi.RichWidget(label=u'Body Text', rows=20, allow_file_upload=True)),
label="Nome", description="Informe o nome da pessoa", ), required=True, ), atapi.StringField( name='credito', widget=atapi.StringWidget(label="Crédito", ), ), atapi.StringField( name='local', widget=atapi.StringWidget(label="Local", ), ), atapi.ImageField( name='foto', widget=atapi.ImageWidget(label='Foto', ), required=True, ), atapi.DateTimeField( name='entrega', default_method='getDataMinima', widget=atapi.CalendarWidget( label="Entrega", description="Data e hora limite para entrega", ), required=True, validators=('isValidDate', ), ), atapi.LinesField( name='infografista', widget=atapi.InAndOutWidget(
from Products.LinguaPlone import permissions from slc.seminarportal.interfaces import ISeminar from slc.seminarportal.config import PROJECTNAME, ALLOWABLE_TEXT_TYPES from slc.seminarportal import seminarportalMessageFactory as _ SeminarSchema = atapi.BaseFolderSchema.copy() + \ ATEventSchema.copy() + atapi.Schema(( atapi.ImageField( name='logo', widget=atapi.ImageWidget( label=_(u"label_seminar_logo", default=u"Graphic or Logo for the event"), ), languageIndependent=True, original_size=(200, 200), sizes={'thumb': (100, 125), 'normal': (200, 200)}, default_output_type='image/jpeg', allowable_content_types=('image/gif', 'image/jpeg', 'image/png'), ), atapi.TextField( name='summary', allowable_content_types=ALLOWABLE_TEXT_TYPES, widget=atapi.RichWidget( label=_(u"label_seminar_summary", default=u"General Description/Summary of the event"), macro='seminar_textarea', ), default_output_type="text/x-html-safe", searchable=True,
# -*- Message Factory Imported Here -*- from zen.slideritem.interfaces import ISliderItem from zen.slideritem.config import PROJECTNAME OVERLAY_FORMATS = atapi.DisplayList(( ('left', 'Left'), ('right', 'Right'), )) SliderItemSchema = schemata.ATContentTypeSchema.copy() + atapi.Schema(( atapi.ImageField('image', sizes={ 'large': (960, 475), }, widget=atapi.ImageWidget( label="Slider Image", description="Image dimensions: 960px x 475px", show_content_type=False, )), atapi.StringField('linkTarget', searchable=0, required=True, relationship='link_target', widget=atapi.StringWidget(label="Link Target")), atapi.StringField( 'overlay', default='left', vocabulary=['left', 'right'], widget=atapi.SelectionWidget( label="Overlay format",
), atapi.FileField( 'alta', storage=atapi.AnnotationStorage(), widget=atapi.FileWidget( label=_(u"Arquivo de áudio com qualidade alta"), ), validators=('isNonEmptyFile'), ), atapi.ImageField( 'imagem', storage=atapi.AnnotationStorage(), widget=atapi.ImageWidget( label=_(u"Imagem"), description=_(u"Field description"), ), validators=('isNonEmptyFile'), original_size=(281,306), ), )) # Set storage on fields copied from ATFolderSchema, making sure # they work well with the python bridge properties. ProgramaSchema['title'].storage = atapi.AnnotationStorage() ProgramaSchema['description'].storage = atapi.AnnotationStorage() ProgramaSchema['description'].widget.label = "Resumo" ProgramaSchema['location'].widget.visible = {"edit": "invisible", "view": "invisible"}
searchable=1, required=0, validators=('isURL', ), widget=atapi.StringWidget( label=u'Support mailing list or forum URL', description= u'URL of mailing list information page/archives or support forum, if the project has one.', i18n_domain="plonesoftwarecenter", ), ), atapi.ImageField( 'logo', required=0, original_size=(150, 75), sizes=config.IMAGE_SIZES, widget=atapi.ImageWidget( label=u'Logo', description= u"Add a logo for the project (or organization/company) by clicking the 'Browse' button. Max 150x75 pixels (will be resized if bigger).", i18n_domain="collective.TemplateUploadCenter", ), ), atapi.StringField( 'logoURL', searchable=1, required=0, validators=('isURL', ), widget=atapi.StringWidget( label=u'Logo link', description=u'The URL the logo should link to, if applicable.', i18n_domain="collective.TemplateUploadCenter", ),
else: from plone.app.collection.field import QueryField PROJECTNAME = "plone.restapi.tests" ATTestDocumentSchema = ATDocumentSchema.copy() + atapi.Schema(( atapi.StringField("testStringField"), atapi.BooleanField("testBooleanField"), atapi.IntegerField("testIntegerField"), atapi.FloatField("testFloatField"), atapi.FixedPointField("testFixedPointField"), atapi.DateTimeField("testDateTimeField"), atapi.LinesField("testLinesField"), atapi.FileField("testFileField"), atapi.TextField("testTextField"), atapi.ImageField("testImageField"), atapi.ReferenceField("testReferenceField", relationship="testrelation"), atapi.ReferenceField( "testMVReferenceField", relationship="testrelation", multiValued=True), BlobField("testBlobField"), FileField("testBlobFileField"), ImageField("testBlobImageField"), QueryField("testQueryField"), atapi.StringField("testRequiredField", required=True), atapi.StringField("testReadonlyField", mode="r"), atapi.StringField("testWriteonlyField", mode="w"), atapi.StringField("testReadPermissionField", read_permission=permissions.ManagePortal), atapi.StringField("testWritePermissionField", write_permission=permissions.ManagePortal), atapi.StringField("testURLField", validators=("isURL", )),
searchable=1, default_output_type='text/x-html-safe', widget=atapi.TinyMCEWidget( label=_(u'label_story_text', default=u"Story Text"), rows=8, allow_file_upload=zconf.ATDocument.allow_document_upload, ), ), atapi.ImageField('image', sizes={ 'large': (768, 768), 'preview': (400, 400), 'twoeightfive': (285, 285), 'mini': (200, 200), 'thumb': (128, 128), 'tiny': (84, 84), 'tile': (64, 64), }, widget=atapi.ImageWidget( label="Image", description="", show_content_type=False, )), atapi.ImageField('imageHome', sizes={ 'twosixtyeight': (268, 268), 'mini': (200, 200), 'thumb': (128, 128), 'tile': (64, 64), }, widget=atapi.ImageWidget(
), write_permission=ASSIGN_SPECIALTIES_TO_PEOPLE, allowed_types=('FSDPerson', ), multiValued=True, relationship= 'SpecialtyInformation' # weird relationship name is ArchGenXML's fault ), atapi.ImageField( name='overviewImage', schemata='Overview', widget=atapi.ImageWidget( label=_( u"FacultyStaffDirectory_label_overview_image", default=u"Overview image (used for specialty overview view)" ), i18n_domain='FacultyStaffDirectory', default_content_type='image/gif', ), storage=atapi.AttributeStorage(), original_size=(200, 200), sizes={'normal': (200, 250)}, default_output_type='image/jpeg', allowable_content_types=('image/gif', 'image/jpeg', 'image/png'), ), atapi.TextField( name='overviewText', schemata='Overview', allowable_content_types=config.ALLOWABLE_CONTENT_TYPES, widget=TinyMCEWidget( label=_( u"FacultyStaffDirectory_label_overview_text",
atapi.StringField( 'autor', storage=atapi.AnnotationStorage(), widget=atapi.StringWidget( label=_(u"Autor"), ), required=True, ), atapi.ImageField( 'foto', storage=atapi.AnnotationStorage(), widget=atapi.ImageWidget( label=_(u"Foto"), ), required=True, validators=('isNonEmptyFile'), ), )) # Set storage on fields copied from ATContentTypeSchema, making sure # they work well with the python bridge properties. ColunaSchema['title'].storage = atapi.AnnotationStorage() ColunaSchema['description'].storage = atapi.AnnotationStorage() ColunaSchema['description'].widget.visible = {"edit": "invisible", "view": "invisible"} ColunaSchema['location'].widget.visible = {"edit": "invisible", "view": "invisible"}
from Products.ATExtensions.ateapi import * from Products.ATContentTypes.lib.historyaware import HistoryAwareMixin DssCourseSchema = document.ATDocumentSchema.copy() + atapi.Schema(( atapi.StringField( name="imageHelp", widget=atapi.LabelWidget( label=u"Lead Image Help", description= u"This is a small image that will only show on course listings. It doesn't show on the actual course page", ), ), atapi.ImageField( name="inlineTopImage", widget=atapi.ImageWidget( label=u"Top Image", description= u"this is a medium image. Optimum resolution is 750x422", ), ), atapi.StringField( name="imageCaption", widget=atapi.StringWidget( label=u"Image Caption", description=u"Image Caption Here", ), ), atapi.TextField( name="faculty", widget=atapi.RichWidget( label=u"Faculty Names", description=u"",
base_question_schema = atapi.Schema(( # By using the name 'image' we can have the image show up in preview # folder listings for free atapi.ImageField( 'qimage', required=False, languageIndependent=True, storage=atapi.AnnotationStorage(), swallowResizeExceptions=True, max_size='no', sizes={ 'large': (600, 600), 'preview': (400, 400), 'mini': (200, 200), 'thumb': (128, 128), }, validators=(('isNonEmptyFile', V_REQUIRED), ('checkImageMaxSize', V_REQUIRED)), widget=atapi.ImageWidget( label=_(u"Image"), description= _(u"An image for this question (The image size must not be greater than 400x400 px)" ), show_content_type=False, ), ), atapi.IntegerField( "maxTimeResponseQuestion", required=False, default=70,
required=False, searchable=False, default=False, validators=(), widget=atapi.BooleanWidget( description= 'This will force this profile to the top of the staff directories.', label=_(u'Is this person the Director?', default=u'Is this person the Director?'), )), atapi.ImageField( 'imageReference', required=False, searchable=False, default="", validators=(), allowable_content_types=('image/gif', 'image/jpeg', 'image/png'), widget=atapi.ImageWidget( description='Allowed image types: gif|jpeg|png', label=_(u'Image of Staff Member', default=u'Image of Staff Member'), )), )) LibraryStaffSchema['title'].storage = atapi.AnnotationStorage() LibraryStaffSchema['description'].storage = atapi.AnnotationStorage() LibraryStaffSchema['position'].storage = atapi.AnnotationStorage() LibraryStaffSchema['department'].storage = atapi.AnnotationStorage() LibraryStaffSchema['email'].storage = atapi.AnnotationStorage() LibraryStaffSchema['phoneOffice'].storage = atapi.AnnotationStorage() LibraryStaffSchema['phoneDesk'].storage = atapi.AnnotationStorage() LibraryStaffSchema['fax'].storage = atapi.AnnotationStorage()
else: from plone.app.collection.field import QueryField PROJECTNAME = 'plone.restapi.tests' ATTestDocumentSchema = ATDocumentSchema.copy() + atapi.Schema(( atapi.StringField('testStringField'), atapi.BooleanField('testBooleanField'), atapi.IntegerField('testIntegerField'), atapi.FloatField('testFloatField'), atapi.FixedPointField('testFixedPointField'), atapi.DateTimeField('testDateTimeField'), atapi.LinesField('testLinesField'), atapi.FileField('testFileField'), atapi.TextField('testTextField'), atapi.ImageField('testImageField'), atapi.ReferenceField('testReferenceField', relationship='testrelation'), atapi.ReferenceField( 'testMVReferenceField', relationship='testrelation', multiValued=True), BlobField('testBlobField'), FileField('testBlobFileField'), ImageField('testBlobImageField'), QueryField('testQueryField'), atapi.StringField('testRequiredField', required=True), atapi.StringField('testReadonlyField', mode='r'), atapi.StringField('testWriteonlyField', mode='w'), atapi.StringField('testReadPermissionField', read_permission=permissions.ManagePortal), atapi.StringField('testWritePermissionField', write_permission=permissions.ManagePortal), atapi.StringField('testURLField', validators=('isURL', )),
# label=_(u"FacultyStaffDirectory_label_officePhone", default=u"Office Phone"), # description=_(u"FacultyStaffDirectory_description_officePhone", default=u""), # i18n_domain='FacultyStaffDirectory', # ), # schemata="Contact Information", # searchable=True, # ), atapi.ImageField( name='image', schemata="Basic Information", widget=atapi.ImageWidget( label=_(u"FacultyStaffDirectory_label_image", default=u"Image"), i18n_domain='FacultyStaffDirectory', default_content_type='image/gif', ), storage=atapi.AttributeStorage(), original_size=(400, 500), sizes={ 'thumb': (100, 125), 'normal': (200, 250) }, default_output_type='image/jpeg', allowable_content_types=('image/gif', 'image/jpeg', 'image/png'), ), atapi.ComputedField(name='title', widget=atapi.ComputedWidget( label=_(u"FacultyStaffDirectory_label_fullName", default=u"Full Name"), visible={ 'edit': 'invisible', 'view': 'visible'
'dimensions': [_(u"Weight (g)")] }, 'weight_kg_kg': { 'label': _(u'label_weight', default=u"Weight"), 'dimension_unit': u'kg', 'dimensions': [_(u"Weight (kg)")] } } ShopItemSchema = ATContentTypeSchema.copy() + atapi.Schema(( atapi.ImageField( 'image', required=False, languageIndependent=True, widget=atapi.ImageWidget(label=_(u"label_image", default=u"Image"), ), storage=AnnotationStorage(), sizes={ 'large': (768, 768), 'mini': (200, 200), 'thumb': (128, 128), }, ), atapi.TextField( 'text', required=False, searchable=True, primary=True, storage=atapi.AnnotationStorage(migrate=True), allowable_content_types=('text/html', ), default_content_type='text/html', validators=('isTidyHtmlWithCleanup', ), default_input_type='text/html',
label=u'Event Sponsor Url', label_msgid='ISAW_Event_Sponsor_Url', il8n_domain='ISAW_Event', maxlength=255, size=50, ), required=False, searchable=True), atapi.ImageField( schemata='sponsor', name='event_Sponsor_Logo', widget=atapi.ImageWidget( label=u'Event Sponsor Logo', label_msgid='ISAW_Event_Sponsor_Logo', il8n_domain='ISAW_Event', ), required=False, searchable=True), )) # Set storage on fields copied from ATFolderSchema, making sure # they work well with the python bridge properties. SponsoredSchema['title'].storage = atapi.AnnotationStorage() SponsoredSchema['description'].storage = atapi.AnnotationStorage()
atapi.StringField('description', searchable=0, required=True, accessor="Description", widget=atapi.StringWidget(label="Description", label_msgid="label_kvideofile_desc", description="Enter a description", description_msgid="desc_kvideofile_title", i18n_domain="kaltura_video"), ), atapi.ImageField('thumbnail', searchable=0, required=False, mode='r', widget=atapi.ImageWidget(label="Thumbnail", description="Thumbnail of video", visible = {'edit': 'invisible', 'view': 'visible'}, i18n_domain="kaltura_video") ), atapi.StringField('playbackUrl', searchable=0, accessor="getPlaybackUrl", mode="r", widget=atapi.ComputedWidget(label="Url", description="Url set by Kaltura after upload (read only)", visible = { 'edit' :'visible', 'view' : 'visible' }, i18n_domain="kaltura_video") ),
default_output_type='text/html', allowable_content_types=('text/restructured', 'text/plain', 'text/html', 'application/msword'), widget=atapi.RichWidget(), ), atapi.IntegerField("number", index="FieldIndex", default=42, validators=('isInt',), ), atapi.ImageField('image', default_output_type='image/jpeg', allowable_content_types=('image/*',), widget=atapi.ImageWidget()), atapi.ReferenceField('related', relationship='related', multiValued=True, widget=atapi.ReferenceWidget(), keepReferencesOnCopy=True), atapi.ReferenceField('rel2', relationship='rel2', multiValued=True, widget=atapi.ReferenceWidget(), keepReferencesOnCopy=True), ),
label="Last name", description="Surname or Family Name", ), ), atapi.ImageField( 'image', languageIndependent=True, swallowResizeExceptions=zconf.swallowImageResizeExceptions.enable, pil_quality=zconf.pil_config.quality, pil_resize_algo=zconf.pil_config.resize_algo, max_size=zconf.ATImage.max_image_dimension, sizes={ 'large': (768, 768), 'preview': (400, 400), 'mini': (200, 200), 'thumb': (128, 128), 'tile': (64, 64), 'icon': (32, 32), 'listing': (16, 16), }, widget=atapi.ImageWidget( description="", label="Image", label_msgid="label_image", i18n_domain="plone", show_content_type=False, )), atapi.TextField( 'profile', searchable=1, default_output_type='text/x-html-safe',