Apparently, BEF renders its checkboxes using a non-standard theming function instead of using theme_checkbox. Could someone explain why this is the case? I'm asking because I've had some difficulties with this approach, especially when trying to use Ctools' dependent tool to conditionally show and hide checkboxes, based on whether others are checked or not.

Comments

mikeker’s picture

Category: Bug report » Feature request
Issue summary: View changes
Issue tags: +BEF theme layer redo

Issue queue cleanup... My apologies for taking so long to address this issue!

BEF can't use core's theme_checkbox function as there are several changes that need to be made to support how Views expects the values to be POST'ed back.

However, I have wanted to cleanup BEF's theme layer for a long time and turning bef_checkbox into a proper, registered theme function that site builders can override is on the list of changes I'd like to make.

mikeker’s picture

Status: Active » Postponed
mikeker’s picture

Title: Not using core checkbox component? » Make bef_checkbox() a proper theme function so it can be overridden
cmonnow’s picture

Priority: Normal » Major
Status: Postponed » Closed (duplicate)
Related issues: +#1404656: Turn bef_checkbox() into a registered theme function, +#1660322: Make field labels themable.