the cheeky css fix is to try:
you'll need to do a rule for each attributeCode:#attrib-3-5{ float:left; }
the cheeky css fix is to try:
you'll need to do a rule for each attributeCode:#attrib-3-5{ float:left; }
Nick
iszent.com
thanks Nick for the link to your posts. That bit of css for a2d's problem helped me get things going...
I have a worked out rough solution with css, but its not right IMO. I would still like to find a better control for how the attributes align and display. Once I add images to the attributes everything goes wacky.
I suspect that the code for //checkboxes in ...modules/attributes.php would need a new case for my idea. Which is way beyond my abilities.
or figure out a way to have each piece of the attribute code — input, label, img — that make up the tpl_modules_attributes.php statement <?php echo $options_menu[$i]; ?> specify classes or ids that can be targeted easier.
or I just don't know enough to do it differently.
or all of the above.
if you have ideas I would love to hear them.
Solve for x?
No, x needs to solve it for himself, or else he'll never learn.
Nick, I hacked around a bit in attributes.php and got the "case 0" attribute setting to insert #id names for the input checkbox and changed the label class so I can write a single CSS rule instead of one for each specific attribute (attrib-?-?) as before...
now to test it out...Code: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="attributecheckbox"') . '<label class="attributelabel" for="' . 'attrib-' . $products_options_names->fields['products_options_id'] . '-' . $products_options_value_id . '">' . $products_options_details . '</label><br />' . "\n"; break;
Solve for x?
No, x needs to solve it for himself, or else he'll never learn.
sounds like you are making good progress.
let me know if I can help. And post your code so that others can see what you are doing. It always helps someone.
Nick
iszent.com
Thanks for the reply. This did not work though.
Thank you for the effort,
Fred McCaughey
www.idsupply.co
Bookmarks