0

On my old Drupal 7 site, I was able to group a set of fields and display them as a tab in the sidebar. I'm moving it to Drupal 8 and using the adminimal theme. I created groups and am using the details sidebar widget. I'd like my custom groups to appear at the top of the sidebar. I've assigned a weight of -5 in Manage Form Display, but they still appear in the middle of the sidebar (even after clearing caches). Is there a way to control the order of groups in the sidebar, or am I maybe using the wrong widget? Thanks.

I have tried using Vertical Tabs Config, but even after clearing caches, the order is unchanged.

Vertical tabs reorder

Manage form display

8
  • I'm not sure I understand correctly what you're asking about, but Manage Form Display page controls the order of widgets on a form (edit page) and Manage Display page controls the actual rendering (view). Maybe you need to take a look at the Manage display page? This split was different in D7.
    – prkos
    May 17, 2021 at 3:35
  • Yes, I'm on the manage form display tab. I'm trying to control the edit form for the node. For both my groups, it says "weight: -2" and I'm assuming the default weight is 0, so they should float to the top. Adding to my confusion are the Authored On and Authored By fields, which are displayed in a tab on the form, but aren't indicated as being in a group.
    – pglatz
    May 17, 2021 at 18:43
  • Can you post screenshots of the Manage form page and the page where you see it not working correctly?
    – prkos
    May 17, 2021 at 19:09
  • 1
    Does this answer your question? How can I change the order of vertical tabs?
    – prkos
    May 18, 2021 at 20:10

1 Answer 1

0

Using weight -99 makes it appear on top in my installation.

Weight -10 moves it nicely below the 'author' box, which is where I want it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.