Questions tagged [dexterity]

Dexterity is a content type framework for CMF applications, with particular emphasis on Plone. It can be viewed as an alternative to Archetypes that is more light-weight and modular

Dexterity is a system for building content types, both through-the-web and as filesystem code. It is aimed at Plone, although this package should work with plain Zope + CMF systems.

Dexterity is included by default in Plone 4.3 as an alternative to Archetypes and will be the main content type framework in upcoming Plone 5.0.

282 questions
4
votes
1 answer

Customize TinyMCE for an Dexterity RichWidget

I'm creating some custom content types using dexterity. I would like to "customize" the aspect of a RichText Field allowing only basic buttons of TinyMce on this field. In Archetypes I could…
Vito
  • 1,201
  • 1
  • 10
  • 16
4
votes
2 answers

Linking to a "File type" Dexterity Content Type

We're creating a database of files on a new Plone 4.3.2 website, using eea.facetednav as the main interface. In order to have multiple searchable "tags" plus additional information like publish year, article type, etc etc, we've created custom…
feesh
  • 1,248
  • 8
  • 14
4
votes
1 answer

How can I have Solgema.fullcalendar, plone.app.event and plone.app.contenttypes to work together?

On a fresh new Plone 4.3.2, I have installed these 3 products: plone.app.contenttypes (1.1a1) plone.app.event (1.0.4, with the dexterity and ploneintegration extras) Solgema.fullcalendar (2.3.2) From my policy product metadata.xml I have…
frapell
  • 43
  • 4
4
votes
2 answers

Do some Zope 3 resources take parameters from the URL?

In Plone 4, I have a custom Dexterity content type that has a NamedBlobFile field called audio_artifact. When using the default edit view to edit the type, I see URLs like this: What's going on here? I'm familiar with Zope 3 resources in general,…
aclark
  • 4,345
  • 1
  • 19
  • 31
4
votes
1 answer

Plone dexterity multiselect field via model xml file

How can I add multiselect field to a dexterity content type via model xml file? It is clear how to add single selection dropdown field:
Rapolas K.
  • 1,669
  • 26
  • 34
4
votes
1 answer

When using Dexterity, can I combine model-driven types with schema-driven types?

How do I create a hybrid type (i.e. a type that keeps the convenience of model-driven types but takes advantage of schema-driven types on an as-needed basis)? My most recent explorations have led me to model-driven dexterity types as the most…
David Bain
  • 2,439
  • 1
  • 17
  • 19
4
votes
3 answers

Plone Dexterity RelationChoice widget clashes with jQueryUI?

A RelationChoice widget in my custom type works fine until collective.js.jqueryui autocomplete is enabled and then it stops working ie stops doing relation lookups; nothing happens when you type in the field. (In another part of the site I use…
Aaron Williams
  • 655
  • 4
  • 11
4
votes
1 answer

Set UID for Dexterity type

I'm migrating content from Archetypes to Dexterity and I need the new items to have the same UID as the old ones. On Archetypes items I can call context._setUID('my-uid'). Is there something similar for Dexterity?
zupo
  • 1,556
  • 1
  • 13
  • 17
4
votes
1 answer

TinyMCE Toolbar Not Showing For Anonymous Users

I have custom Dexterity types: Folder is folderish, Article is to be addable in that folder. In addition, Article is addable by anonymous users. For quick testing, I modify the folder's Security Settings in ZMI, turning on Add portal content…
marr
  • 861
  • 4
  • 19
4
votes
1 answer

Restrict upload by filetype or mimetype using Dexterity on Plone

I have a custom content type, built with dexterity. In the schema (The schema is listed below), I use 'plone.namedfile.field.NamedFile' for attachements/uploads. I would like to restrict uploads so that only mp3 files can be attached to my content…
David Bain
  • 2,439
  • 1
  • 17
  • 19
4
votes
1 answer

Move invariant validation error message on a field in Plone

I'm using Plone with dexterity and I'm validating 2 related fields using the invariant decorator. Everything works but... I'd like to move the generic error message on one specific field. How can I do this? I've found a three years old suggestion by…
parruc
  • 43
  • 1
  • 3
4
votes
2 answers

Is there a multiple upload reference widget for dexterity (quickupload widget for dexterity content type)

I'm working on a dexterity content type that should be able to support multiple upload of images. What I want is to be able to use something like one of the collective.plonefinder referencewidgets. I've looked at the examples documented for…
David Bain
  • 2,439
  • 1
  • 17
  • 19
3
votes
1 answer

portal_catalog unique ids for both Archetypes and Dexterity content

I am querying portal_catalog to populate a vocabulary with (UID, Title) tuples. The site has both Archetypes and Dexterity content. brains = portal_catalog.searchResults(path={ "query": site_physical_path + "/" + folder_name }, …
Mikko Ohtamaa
  • 82,057
  • 50
  • 264
  • 435
3
votes
4 answers

Removing fieldset tab interface on a Dexterity content type

I need to add a condition to avoid the load of some javascript code when adding an object of my content type; the following condition only works when editing the object:
hvelarde
  • 2,875
  • 14
  • 34
3
votes
1 answer

Can I create tabular data fields in a Dexterity?

I'm a newbie to Stack Overflow and I've just started developing an intranet site to document the results of a user study we're conducting. I'm using Plone 4.1 and have just started learning to use the Dexterity framework as the pages to display the…
Andrew Heckford
  • 507
  • 3
  • 12
1 2
3
18 19