Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It would be best if it appeared above the Save button or within the vertical tabs. See screenshot of what I'm seeing.
Comment | File | Size | Author |
---|---|---|---|
#6 | move-fieldset-into-vertical-tabs-1534554-6.patch | 392 bytes | hugronaphor |
Screen shot 2012-04-15 at 3.52.55 PM.png | 70.84 KB | capellic |
Comments
Comment #1
Goekmen CreditAttribution: Goekmen commentedI have this problem too. Is there a workaround?
Comment #2
chasingmaxwell CreditAttribution: chasingmaxwell commentedThe easiest, hackerrific workaround is to just change $form['opengraph_meta']['#weight'] in opengraph_meta_form_alter() (which is currently hardcoded to 100). As to the solution, should this be added as a field instead of through a form_alter function? That way the user would have more control of how it appears on the node form. I could see that being much more complicated though.
Comment #3
capellicOr use the Meta Tag module which includes Open Graph support. http://drupal.org/project/metatag
Comment #4
jenlamptonI'm also having problems with the open graph fieldset. It really belongs in the vertical tabs with all the other fieldsets, updating issue title to match.
Comment #5
gsutcliffe CreditAttribution: gsutcliffe commentedThis is an old thread but it's something I worked on today. Without hacking a solution it can be placed in a custom module. You have no control over the weight within the opengraph_meta form, so instead move what you need under the opengraph_meta section. Below is the code to move the vertical tabs and action buttons to the bottom.
Comment #6
hugronaphor CreditAttribution: hugronaphor as a volunteer and at Acrosto for Dropsolid commentedWhy don't we just append the current fieldset to the vertical_tabs group? All other core modules(book, menu,..) do the same.
As quick altering hook implement:
And the patch itself...
Comment #7
Daniel Schaefer CreditAttribution: Daniel Schaefer commentedApplied patch to latest 7.x-2.0-alpha3 and it worked instantly. I think we can go ahead and commit this change.
Comment #8
rcodina CreditAttribution: rcodina commentedWorks for me too on 7.x-2.x-dev. Thanks!