Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Mark content as Dienstleistung/Organisation #19

Open
maethu opened this issue Aug 6, 2013 · 2 comments
Open

Mark content as Dienstleistung/Organisation #19

maethu opened this issue Aug 6, 2013 · 2 comments

Comments

@maethu
Copy link
Member

maethu commented Aug 6, 2013

Try not to touch ftw.contentpage (IOrgunitMarker).

Mark Content with subscriber after edit (Radiobuttons)

  • None
  • Dienstleistung (marker interface)
  • Organisation (marker interface)
@jone
Copy link
Member

jone commented Aug 8, 2013

I see two options:

  1. We could use the Plone Subject field for this, which is already indexed and quite easy to use. Adding the subjects we use in init-content would make them already selectable and we could then build the views so that they just query the necessary subject. It is also possible to isolate the selectable subject per content type.
  2. We can build a typing package (e.g. ftw.typing) which provides a schema extender with a field for selecting the types. Selecting a "type" makes the content provide the associated marker interface which can then be used for querying in the views.
    For the types vocabulary we could use collective.vdexvocabulary.
    For adding a new type one would have to implement a marker interface and register it in the vdex vocabualary so that it is selectable.
    We could also provide two schema extenders, a single-valued one and a multi-valued one which can be activated with a separate marker interface on the types we want to have it.

I think if the subject option (1) does work it would be much simpler to implement.
@freinhard @treinhard @phabegger @maethu @ninfaj what do you think? How should we proceed?

@maethu
Copy link
Member Author

maethu commented Aug 8, 2013

I prefer option 1. We do not need more at time. Limit the selectable subject is a must.
Something like that:
screen shot 2013-08-08 at 10 41 51 am

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants