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
9
votes
3 answers

What are the Dexterity and Archetypes gotchas in Plone 4.1?

In a recent question, toutpt said: Dexterity needs Plone4.1 to play well with archetypes content and have all plone feature (history, diff, lock, ...) I'm thinking of using Dexterity in a new site, alongside standard Archetypes objects like…
Mike Rhodes
  • 1,816
  • 12
  • 15
8
votes
2 answers

The Holy Grail of Plone workflow

We are in the process of implementing a Plone CMS as a repository for ISO9001-documents. ISO demands a certain amount of logging, as anyone familiar with the standard probably knows :-) For the sake of flexibility we would like to incorporate, in no…
Speediro
  • 543
  • 2
  • 9
8
votes
2 answers

Problem with plone.indexer and Dexterity

I wish to enable a special index, called Sectors, for a attribute ('sectors') of my Dexterity based custom content-type. In my schema, inside types/mycontent.py I have: class IMyContent(form.Schema): """ My Content """ sectors =…
Rigel Di Scala
  • 3,150
  • 2
  • 17
  • 23
8
votes
6 answers

list the fields of a dexterity object

I'd like to list all the fields (and the values) of a dexterity object. I can easily access a single field value like this myobject.myfield But I don't know how to list all the available fields of an object.
domruf
  • 1,453
  • 2
  • 11
  • 20
7
votes
3 answers

Using collective.z3cform.datagridfield with Dexterity

I'm somewhat of a newbie to Plone and I'm attempting to use DataGridField with Dexterity. The goal is to use Plone 4.1 to publish the results of a usability study on our intranet. I've created a custom document type (called an Interaction) and I…
Andrew Heckford
  • 507
  • 3
  • 12
7
votes
2 answers

Is there a way to extend Plone Dexterity's INameFromTitle behavior?

The project I am working on uses Plone's awesome Dexterity plugin. A couple of my custom content types have very specific names that must be computed. The way I had originally accomplished this before was by adding…
mmartinez
  • 101
  • 5
7
votes
1 answer

How can I change fieldsets order?

I have a form schema which inherits from another form schema. Both have fieldsets. However, the fieldsets are put in the order they are created. So the fieldset described in the last schema will be the last one. I would like it to be the first. Is…
Gagaro
  • 752
  • 7
  • 17
7
votes
1 answer

Customized Dexterity edit form template in Plone?

I am working on a Plone add-on that requires a re-skinned alternate edit form for Dexterity content. I need to be able to display only part of the edit form in an AJAX overlay (using JQuery UI, not JQuery tools, so it seems more reasonable to do…
sdupton
  • 1,869
  • 10
  • 9
6
votes
1 answer

Migrating Archetype news items to Dexterity content types

I'm trying to copy the content in news items to other content type that I wrote. In my script I have the news item and the project item. The second, project, is a content type defined using Dexterity. It would be wonderful if I could to copy the…
Daniel Hernández
  • 1,279
  • 8
  • 15
6
votes
1 answer

How to execute actions after creating content types?

I'm trying to execute some arbitrary code after a Dexterity content type is created. For example the content type could represent a horse. import logging logger = logging.getLogger("Plone") class IHorse(form.Schema): def __init__(self,…
Daniel Hernández
  • 1,279
  • 8
  • 15
6
votes
4 answers

Can not activate discussions on Plone Dexterity types (folderish)

I have been working on a dexterity based plone application. I have created a couple of new types. This is what I did to activate comments on a specific dexterity content type named "activity_report": In Plone Control Panel In the Discussion section…
jcuot
  • 935
  • 9
  • 24
5
votes
1 answer

Plone and Dexterity: default values for "relation" field

In one of my Plone sites, I have a few dexterity models that I use to generate letters. The models are: "Model" (the base content of the letter), "Contact" (that contains the contact information, such as name, address etc) and "Merge" (which is a…
Vincent
  • 620
  • 7
  • 19
5
votes
1 answer

How do I add keywords to SearchableText for a Dexterity content type?

I have a site running Plone 4.1 which has a custom content type developed with Dexterity 1.1. My content authors can add keywords to basic Plone pages using the Categorization tab and users successfully find these pages if they search using one of…
Andrew Heckford
  • 507
  • 3
  • 12
5
votes
3 answers

Recommended approach for marking a dexterity content type with a new interface

While working on a dexterity based project I needed one of my content types to support collective.quickupload by marking it with the IQuickUploadCapable interface. What I'm currently doing is adding an 'implements' to my configure.zcml file: `
David Bain
  • 2,439
  • 1
  • 17
  • 19
5
votes
4 answers

How to show the image of a Dexterity-based Plone content type in a listing view?

What's the best way to show the image of a Dexterity-based Plone content type in a listing view? Say I have a folder with Dexterity-based content objects that provide an image field and I want to list the objects (as catalog brains) together with…
tisto
  • 1,337
  • 7
  • 13
1
2 3
18 19