Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kalatheme_form_element_label problem with og permission group admninister #304

Open
pierrelucueisd opened this issue May 25, 2017 · 1 comment

Comments

@pierrelucueisd
Copy link

i desactivate kalatheme_form_element_label in includes/fapi.inc and
i am now able of desactivating permission in group/%/%/admin/permissions.
Beafore that, i was unable of removing permission but was able of
activating a new for a role.

more specificly, when i keep kalatheme_form_element_label activated in code but when i desacivated the following sub code:

if ($is_radio_or_checkbox && $element['#title_display'] != 'permissions' && isset($element['#children'])) { $output .= $element['#children']; }
it was working ok but i did not test all the other functionnality. So i prefered to desactivate this function and use te one providen by core theme for avoiding error.

I do not undertand the correct way of hannling $element['#children'] so ist the best way for me to correct the problem for me but it should be usefull for other to correct this bug with og.

@pierrelucueisd
Copy link
Author

i found a better way:

if ($is_radio_or_checkbox && $element['#title_display'] != 'permissions' && $element['#title_display'] != 'invisible' && isset($element['#children'])) { $output .= $element['#children']; }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant