Changeset 1883 in products
- Timestamp:
- Mar 11, 2010 12:43:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.seoptimizer/branches/refactoring2.3.0/quintagroup/seoptimizer/browser/seo_configlet.py
r1847 r1883 25 25 # Configlet schema 26 26 class ISEOConfigletSchema(Interface): 27 27 28 28 exposeDCMetaTags = Bool( 29 29 title=_("label_exposeDCMetaTags", … … 35 35 'others.'), 36 36 default=True, 37 required=False)38 39 default_custom_metatags = List(40 title=_("label_default_custom_metatags", default='Default custom metatags.'),41 description=_("help_default_custom_metatags",42 default='Fill in custom metatag names (one per line) which will'43 'appear on qseo_properties edit tab. Example: '44 '"metaname|metacontent" or "metaname".'),45 37 required=False) 46 38 … … 64 56 vocabulary="plone.app.vocabularies.ReallyUserFriendlyTypes")) 65 57 58 default_custom_metatags = List( 59 title=_("label_default_custom_metatags", default='Default custom metatags.'), 60 description=_("help_default_custom_metatags", 61 default='Fill in custom metatag names (one per line) which will' 62 'appear on qseo_properties edit tab. Example: ' 63 '"metaname|metacontent" or "metaname".'), 64 required=False) 66 65 67 66 … … 88 87 ct_with_seo = self.context.content_types_with_seoproperties 89 88 return [t for t in self.ttool.listContentTypes() if t in ct_with_seo] 90 89 91 90 def setTypesSEOEnabled(self, value): 92 91 value = [t for t in self.ttool.listContentTypes() if t in value] … … 98 97 metatags_order = ProxyFieldProperty(ISEOConfigletSchema['metatags_order']) 99 98 types_seo_enabled = property(getTypesSEOEnabled, setTypesSEOEnabled) 100 99 101 100 102 101 class SmallTextAreaWidget(TextAreaWidget):
Note: See TracChangeset
for help on using the changeset viewer.