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.
Hey,
1.) it says "contextual-tabs-visilibity" in the form. Yes visilibity not visibility.
2.) Why is the content visibility set here? Doesn't this pretty much belong to oa_contextual_tabs?
3.) The visibility setting has no effect, as oa_contextual_tabs.module has no condition before rendering the theme('oa_widgets_visibility_toolbar');
This is all a bit weired. Does somebody agree? Should I supply patches moving things where I think they belong and add conditions for what I assume was intended?
Comments
Comment #1
ChristianAdamski CreditAttribution: ChristianAdamski commentedComment #2
mpotter CreditAttribution: mpotter commentedYes, I agree. That needs to move into oa_contextual_tabs as a form_alter or something.
Comment #3
ChristianAdamski CreditAttribution: ChristianAdamski commentedSo should I open an additional issues in OA Contextual Tabs?
Roadmap:
1.) Fix typo and remove visibility
2.) in OA Contextual Tabs add form alter with the stuff removed in 1.)
3.) Add condition for theme('oa_widgets_visibility_toolbar'); with the value from 2.)
Comment #4
mpotter CreditAttribution: mpotter commentedYes, that would be a huge help thanks.
Comment #5
ChristianAdamski CreditAttribution: ChristianAdamski commentedOK, do we finally agree, that there is no need for compatibility concerning the typo? As the variable didn't do much anyway? I mean, if I change the form identifier, the old value will be lost.
Comment #6
mpotter CreditAttribution: mpotter commentedAs long as the default value of TRUE is used on the oa_contextual_tabs side then it should be fine.
Comment #7
ChristianAdamski CreditAttribution: ChristianAdamski commentedI was occupied with other work. From what I can tell cloning contextual_tabs and oa_contextual_tabs, this whole thing already happened?
Comment #8
mpotter CreditAttribution: mpotter commentedYep, sorry, should have closed this. It was fixed a while ago.