[opencms-dev] Selection of pre-defined nested contents on content creation as reference and automatic update on change

Axel Muehring muehring at muehring.de
Wed Dec 11 11:05:25 CET 2019


Hello,
please imagine the following setup:

  *   XML-Schema A (e.g. Article)
  *   XML-Schema B (e.g. Newspaper)
     *   This schema contains some standard elements (like openCmsString,...) and also nested elements, like XML-Schema A
Issue:
If a user creates new content for XML schema B, then openCMS displays by default an page with all values either empty or set to a fixed default.

1.)
I would like to define, that for selected(defined in XML schema) nested elements the users get a "library selection popup/choice box", from where existing content (here articles, based on XML-SchemaA) can be selected.
The user shall not be requested to manually fill out all single fields manually (openCMS default behavior).

2.)
The content shall also be linked, not copied, so if the article is modified later, then the referenced content in the "newspaper (XML Schema B)" is automatically updated.

Do you have any hint for me?

A similar use case is e.g. the picture gallery, where the user is already presented a selection of available images instead of drawing a new image manually.

Thanks in advance,
Axel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20191211/0843936d/attachment.htm>


More information about the opencms-dev mailing list