Jump to content
Sign in to follow this  
libman

Options as Images for MS2 v1.2

Recommended Posts

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');

?>

 

**********************************************************


Thanks,

Libman

Share this post


Link to post
Share on other sites

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..

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×