From: Robin H. <svn...@pl...> - 2008-11-25 12:17:00
|
Author: robinharms Date: Tue Nov 25 12:16:53 2008 New Revision: 76434 Modified: betahaus.memberprofile/trunk/betahaus/memberprofile/content/memberprofile.py Log: location already exists in dublincore Modified: betahaus.memberprofile/trunk/betahaus/memberprofile/content/memberprofile.py ============================================================================== --- betahaus.memberprofile/trunk/betahaus/memberprofile/content/memberprofile.py (original) +++ betahaus.memberprofile/trunk/betahaus/memberprofile/content/memberprofile.py Tue Nov 25 12:16:53 2008 @@ -149,17 +149,20 @@ # We might want to integrate with Jarn's Maps-product. # In that case we need initial lookup of location that results in geodata. - MemberPropertyField('location', - required = False, - searchable = False, - languageIndependent = True, - widget = atapi.StringWidget( - description = _(u'description_memberprofile_location', - default=u''), - label= _(u'label_memberprofile_location', - default=u'Location'), - ), - ), + +#FIXME: location allready exists in dublincore which takes preceedence over the members locationfield. +# MemberPropertyField('location', +# required = False, +# searchable = False, +# languageIndependent = True, +# schemata = 'default', +# widget = atapi.StringWidget( +# description = _(u'description_memberprofile_location', +# default=u''), +# label= _(u'label_memberprofile_location', +# default=u'Location'), +# ), +# ), MemberPropertyField('ext_editor', schemata = 'personal_settings', @@ -207,7 +210,6 @@ # Description is used as biography in some views, # for instance personalize_form MemberProfileSchema['description'].storage = atapi.AnnotationStorage() -#MemberDataStorage -> description MemberProfileSchema['description'].searchable = False MemberProfileSchema['description'].widget.label= _(u'label_memberprofile_description', default=u'Short biography or description') MemberProfileSchema['description'].widget.description = _(u'description_memberprofile_description', default=u'') |