libman Posted March 5, 2006 Posted March 5, 2006 Hi Folks, I'm attempting to add the mod Options as Images for MS2 v1.2. Everything was going well until I hit the last step in the directions which I have placed between the astericks you see below. I do know my line numbers(Dreamweaver are not in sync with these directions. Thanks so much for the help... ******************************************************************** Add 2 further lines at around lines 165 and 170 as demonstrated in the following code by the "//Options as Images" comments:- <td class="main"><?php echo $products_options_name['products_options_name'] . ':'; ?></td> <td class="main"><?php echo tep_draw_pull_down_menu('id[' . $products_options_name['products_options_id'] . ']', $products_options_array, $selected_attribute); ?></td> </tr> <?php } ?> </table> <?php } //Options as Images. Add the curly bracket as shown on the next line } ?> <?php //Options as Images. This whole php clause needs to be added if (OPTIONS_AS_IMAGES_ENABLED == 'true') include ('options_images.php'); ?> ********************************************************** Quote Thanks, Libman
Pilly Posted April 6, 2006 Posted April 6, 2006 This part already exists in productionfo.php i think <td class="main"><?php echo $products_options_name['products_options_name'] . ':'; ?></td> <td class="main"><?php echo tep_draw_pull_down_menu('id[' . $products_options_name['products_options_id'] . ']', $products_options_array, $selected_attribute); ?></td> </tr> <?php } ?> </table> <?php } Just add <td class="main"><?php echo $products_options_name['products_options_name'] . ':'; ?></td> <td class="main"><?php echo tep_draw_pull_down_menu('id[' . $products_options_name['products_options_id'] . ']', $products_options_array, $selected_attribute); ?></td> </tr> <?php } ?> </table> <?php } Just add below it //Options as Images. Add the curly bracket as shown on the next line } ?> <?php //Options as Images. This whole php clause needs to be added if (OPTIONS_AS_IMAGES_ENABLED == 'true') include ('options_images.php'); ?> I think thats what i did.... i have errors with enabling the enlarge option.. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.