It technically shouldn't matter what order any of those are installed in UNLESS, one of them has a "delete" type of command that in unknowingly removes some database field(s) from other modules (I've seen this before with a number of mods.)
To set defaults on the selection items you need to add another portion to the function for drawing either the radio fields, checkboxes etc...
Specifically you would need to add something that follows this pattern "$variablenamehere=true"
An example of how you would select by default the type of file layout would be
ORIGINAL LINE OF CODE:
Code:
<?php echo zen_draw_radio_field('filelayout', '2' );?> <?php echo TEXT_FILE_LAYOUT_PPR_FIELD; ?><br />
CHANGE TO:
Code:
<?php echo zen_draw_radio_field('filelayout', '2' , $filelayout=true);?> <?php echo TEXT_FILE_LAYOUT_PPR_FIELD; ?><br />
Notice the addition of the ", $filelayout=true" portion of code.
You would do the same for the checkboxes (adding the appropriate variable = to true for each that you wish to pre-select.
Example for checkbox would be:
ORIGINAL LINE:
Code:
<?php echo zen_draw_checkbox_field('product_details', '1');?> <?php echo TEXT_PRODUCT_DETAILS_FIELD; ?> <span style="color: #ff0000"><strong>*</strong></span><br />
CHANGE TO:
Code:
<?php echo zen_draw_checkbox_field('product_details', '1', $prod_details_checked=true);?> <?php echo TEXT_PRODUCT_DETAILS_FIELD; ?> <span style="color: #ff0000"><strong>*</strong></span><br />
Notice addition of the ", $prod_details_checked=true" portion.
Let me know if that helps.
Bookmarks