Formfields - main or sidebar

Description

Background

It should be possible to decide if a formfield is positioned on the main content area, or in the sidebar.

Requirements

(it might be a future addition to override the UI location in the content type configuration)

Deployment actions

None

Technical tasks

  • add new field to Attribute/annotation (https://eactive.atlassian.net/browse/INTEGRATED-1801#icft=INTEGRATED-1801 will make attributes possible, so files might differ)

    • src/Common/Form/Mapping/Annotations/Field.php: add new field

    • src/Common/Form/Mapping/Driver/AnnotationDriver.php: process the field data

  • \Integrated\Common\Content\Form\ContentFormType

    • split the formfields in group main & sidebar, based on the newly added data

    • groups should be optional as this is not preferred by some contentType. For example content that has no editor. but configurations Video Image Person.

  • src/Bundle/ContentBundle/Resources/views/content/edit.html.twig:

    • render the new groups in the right places (instead of the individually rendered fields it currently has)

Activity

Show:
Pro tip: press M to comment

Gerben Bosch 
January 17, 2023 at 9:12 AM

Zegt mij ook niets. Marijn pak jij deze op?

·

Maartje Wessels-Wouda 
January 17, 2023 at 8:20 AM

Kunnen jullie dit nog bekijken? Of mij laten weten waar ik het kan testen zodat ik het over kan nemen? Kom daar namelijk niet helemaal uit.

·

API 
January 13, 2023 at 10:32 AM

.Notificatie preview gestuurd naar Gerben Bosch (gerben@e-active.nl)

·

Koen Prins 
December 29, 2022 at 7:55 AM

List of places where annotations where removed:

Article.php:

  • Authors: location= "sidebar",icon= "feather",

  • source: location= "sidebar",icon= "megaphone",

  • sourceUrl: location = "sidebar",icon = "arrow-up-right-from-square",

Content.php:

  • slug: location = "sidebar",icon = "link"

  • disabled: location = "sidebar",icon = "copyright"

  • copyrightRestrictions: location = "sidebar",icon = "copyright"

The rest was either possible, or moving the label to attr which was reverted

·

API 
December 22, 2022 at 11:32 AM

.Notificatie urenschatting gestuurd naar Gerben Bosch (gerben@e-active.nl)

·
Fixed

Details

Assignee

Client

e-Active team

Sprint

Fix versions

OTM informatie

Created October 17, 2022 at 12:27 PM
Updated June 1, 2023 at 7:49 AM
Resolved January 25, 2023 at 8:28 AM

Flag notifications