I've been looking into this (as per your pm and message above)
The mod controls at a template level rather than modifying the attributes code (in tpl_modules_attributes.php) and as such it is indiscriminate as to what attributes it wraps.
So from what i can see you need to somehow distinguish between attributes at code level and wrap it there, this is all done in includes/modules/attributes.php (obv use override templates for testing)
Code:
switch ($products_options_names->fields['products_options_images_style']) {
case '0':
$tmp_checkbox .= zen_draw_checkbox_field('id[' . $products_options_names->fields['products_options_id'] . ']['.$products_options_value_id.']', $products_options_value_id, $selected_attribute, 'id="' . 'attrib-' . $products_options_names->fields['products_options_id'] . '-' . $products_options_value_id . '"') . '<label class="attribsCheckbox" for="' . 'attrib-' . $products_options_names->fields['products_options_id'] . '-' . $products_options_value_id . '">' . $products_options_details . '</label><br />' . "\n";
break;
i have left the javascript in the template file (tpl_modules_attributes.php) and then lifted the additional div code which the javascript controls to wrap the checkboxes
Code:
$tmp_checkbox .= '<div id="expanding_attribs">
<h2 class="expheading">Personalise This Product Here!</h2>
<div class="expcontent">' . zen_draw_checkbox_field('id[........
this wraps each individual checkbox with the javascript, so its part of the way there, perhaps one of the pros can jump on this thread and give some guidance on how to wrap the checkboxes and their values in their entirety?
Bookmarks