Closed (fixed)
Project:
Tao
Version:
7.x-3.0-beta4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Jan 2011 at 07:42 UTC
Updated:
15 Apr 2014 at 16:40 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
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 commentedthank u very much. Solved
Comment #3
dgastudio commentedComment #4
mh86 commentedin my opinion, this fix should be added to the Tao theme
Comment #5
dqdagree
Comment #6
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 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 commentedAttached is a patch for rubik's preprocess function to preserve the ID attribute. Apply to template.php.
Comment #9
coffeymachine commentedThis fix was included in #1105086: Add element id to fieldsets
Comment #11
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 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 commentedCommitted: 2eef901
Thanks!