Hi
i'm trying to install this mod on this test site ( http://motorcycleparts.ie/ )
the mod is only listed for 1.3.8 but when i install it i get the drop down box but nothing in it... but if i click in the drop down menu then it selects the product as intended.
So basically it works but doesnt show me the contents of the drop down box...
This code is from the mod so I'm assuming that something here is not compatible with 1.3.9?
Any pointers or help appreciated
Thanks
Code://////////////////////////////////////////////////////////////////////////////// // Add a drop down box for product selection - Ryan Garlick - FrameTheTV.com if ($_GET['main_page'] != 'advanced_search_result') { // don't diplay the box on the search results page $testA = array(); $testA = zen_get_categories_products_list($current_category_id); $testR = array(); $drop_index = 0; foreach ($testA as $key => $value) { $testR[$drop_index] = array('id' => zen_href_link(zen_get_info_page($key),'cPath='.zen_get_generated_category_path_rev($_GET['cPath']).'&products_id='.$key.''), 'text' => zen_products_lookup($key, 'products_model')); $drop_index++; } sort($testR); echo "Product Selection: "; echo zen_draw_pull_down_menu('prodselect', $testR, '', 'onchange="window.location = this.options[this.selectedIndex].value"'); echo "<br /><br />"; } // end of drop down box for product selection ///////////////////////////////////////////////////////////////////////////////


Reply With Quote


