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.
Drupal 7.0
Rubik 7.x-4.0-beta4
Taxonomy manager doesnt work. After click on buttons to perform any operation, nothing happens.
No errors in Firebug.
After change theme back to Seven, everything works fine.
Comment | File | Size | Author |
---|---|---|---|
#13 | 1016844-tao-stop-removing-ids-13.patch | 625 bytes | wiifm |
#12 | tao_taxonomy_manager-1016844-12.patch | 611 bytes | sylus |
#8 | rubik.preprocess.fieldset.preserve.id_.patch | 323 bytes | sherakama |
Comments
Comment #1
mh86 CreditAttribution: mh86 commentedthe taxonomy manager relies on some ids in fieldsets.
the tao theme overrides the fieldset theme function, but the #id attribute gets lost. adding of element_set_attributes($element, array('id')); to the function tao_preprocess_fieldset (as it is done in the original theme_fieldset) solves the problem.
Comment #2
dgastudio CreditAttribution: dgastudio commentedthank u very much. Solved
Comment #3
dgastudio CreditAttribution: dgastudio commentedComment #4
mh86 CreditAttribution: mh86 commentedin my opinion, this fix should be added to the Tao theme
Comment #5
dqdagree
Comment #6
3rdLOF CreditAttribution: 3rdLOF commentedBravo.
For Rubik and subthemes the best option for those who do not want to touch Tao is to copy the entire tao_preprocess_fieldset(&$vars) function over to Rubik template.php, replacing the one there, applying this fix and making sure to rename it accordingly: rubik_preprocess_fieldset(&$vars).
Tested it, works like butter.
Comment #7
romaingar CreditAttribution: romaingar commentedHello kannary,
I've tested your solution but it dosen't work for me. this is my code for \themes\rubik\template.php
It's not very important because it's work with the seven theme...
Bye.
Comment #8
sherakama CreditAttribution: sherakama commentedAttached is a patch for rubik's preprocess function to preserve the ID attribute. Apply to template.php.
Comment #9
CoffeyMachine CreditAttribution: CoffeyMachine commentedThis fix was included in #1105086: Add element id to fieldsets
Comment #11
Peter Arius CreditAttribution: Peter Arius commentedSetting this to active again, because for
Tao 7.x-3.0-beta4
Rubik 7.x-4.0-beta8
Taxonomy Manager 7.x-1.0-rc1
Drupal 7.19
the issue still shows up.
For Taxonomy Manager, the issue has been filed as #874488: Clicking Add button does nothing - incompatibility with Devel module and Tao based themes (like Rubik).
There in #30, a change to tao's template php is suggested, which seems to fix the issue.
Please, kindly review the fix and consider adding it to tao.
Comment #12
sylus CreditAttribution: sylus commentedAdding a patch for latest dev
Comment #13
wiifmAttached is the same patch in #12 without the whitespace issues.
Can confirm this resolves the bug.
Also worth reading is #874488: Clicking Add button does nothing - incompatibility with Devel module and Tao based themes (like Rubik)
Comment #14
wiifmre-titling for better searchability
Comment #15
haydeniv CreditAttribution: haydeniv commentedCommitted: 2eef901
Thanks!