euskopc Posted December 3, 2004 Author Share Posted December 3, 2004 Pixelegg: By the momment I've no solution for this message. The contribution send info (manufacturer, category and subcategory) from SSL page to nonSSL pages, but the customers know that they have changed some items. Rubygirl: I/we need more info (javascript errors, url of your webpage to see the problem...). Try to check the installations steps. Quote Link to comment Share on other sites More sharing options...
sergioscr Posted December 3, 2004 Share Posted December 3, 2004 Hello I need to add the contrib disable enable categories: http://www.oscommerce.com/community/contri...able+categories but the DropDownMenu v2.0 (Advanced Search infobox) ignore this contrib on select menus, what changes are necessary ? Thanks to :'( all. Sergio. Quote Link to comment Share on other sites More sharing options...
rubygirl Posted December 3, 2004 Share Posted December 3, 2004 I went through the install steps again and all seems right - i have zero java errors - even checked through firefox - no idea why nothing is populating - very odd.... any ideas of where to even start looking - like any known bugs with other contribs, etc... Quote Link to comment Share on other sites More sharing options...
spencermjax Posted December 5, 2004 Share Posted December 5, 2004 euskopc, I think your contrib. is just great. I know you have mentioned many times that you do not have much time for suggestions so you can add this to your list for a later date...if at all. I may be the only one wanting this but I would like to be able to have the breadcrum listed as OSC does in its basic version. In connection to that I would also like to have the location of the user (category/subcategory) listed at the top of the page where the title "Products meeting the search criteria" is listed. Other than that I think you directions were very straight forward and my install was a breeze! Thanks!!! :thumbsup: Quote Link to comment Share on other sites More sharing options...
rubygirl Posted December 6, 2004 Share Posted December 6, 2004 finally - looks like i have a javascript error: Error: dropdownmenu_path is not defined Source File: http://domain.com/jsrsClient.js Line: 266 here is around line 266 // get context var rspage= dropdownmenu_path + rspage; var contextObj = jsrsContextPool[ jsrsGetContextID() ]; contextObj.callback = callback; any ideas? thanks! Quote Link to comment Share on other sites More sharing options...
rubygirl Posted December 13, 2004 Share Posted December 13, 2004 (edited) Hello everyoneI want to make a change to this contribution I would like to make it to show the products for a manufacturer and category instead of the subcategories To be like: Manufacturer Category Products and when click search to go to the selected product info page I really need this change so any help is very much apreciated Thank you <{POST_SNAPBACK}> did you ever make any headway on this change? would like to help out but don't know if you have already resolved this - think it is a very good idea ... let me know ps - by the way - resolved my issues with the blank fields - dns hadn't completely propagated on switch - now it works great! - i have also made a few changes to install file if you'd like it - if there is anything else to add - please PM me so that i can add them and you can submit the latest version of this great contribution! Edited December 13, 2004 by rubygirl Quote Link to comment Share on other sites More sharing options...
euskopc Posted December 14, 2004 Author Share Posted December 14, 2004 (edited) did you ever make any headway on this change? would like to help out but don't know if you have already resolved this - think it is a very good idea ... let me know ps - by the way - resolved my issues with the blank fields - dns hadn't completely propagated on switch - now it works great! - i have also made a few changes to install file if you'd like it - if there is anything else to add - please PM me so that i can add them and you can submit the latest version of this great contribution! <{POST_SNAPBACK}> No, I didn't make any changes. This is what I would like to code when I've finish my actual obligations. 1.- Enable the use of dropdownmenu in SSL. In previous posts you can view a patch but probably need little modifications (ability of detect the SSL, the patch recommends changes in SSL and NOT_SSL). 2.- Simple link to advanced_search.php in the title of the box. 3.- Activate the breadcrumb again (previous version remove it). 4.- This is the hardest: Ability to control the dropdownmenu in the admin side. The admin section controls: Enable/disable dropdownmenu Order of the searches (manufacturers->categories->subcategories; categories->subcategories->manufacturers or manufacturers->categories->products) 5.- Hide categories and subcategories that are empty. 6.- Make translations of the statusbar messages. If anyone wants to help, only post here the changes for not duplicate the work. Edited December 14, 2004 by euskopc Quote Link to comment Share on other sites More sharing options...
euskopc Posted December 15, 2004 Author Share Posted December 15, 2004 I'd try to post here all the changes that I'm doing for getting more stable version. Use this method if you want to collaborate. *************************** DropDownMenu 2.7 Alpha 1 *************************** Disble manufacturers when they haven't products. 1.- Open catalog/select_rs.php and search this: return serializeSql("select manufacturers_id, manufacturers_name from manufacturers order by manufacturers_name"); 2.- Replace with this: return serializeSql("select distinct m.manufacturers_id, m.manufacturers_name from manufacturers m, products p where p.manufacturers_id=m.manufacturers_id order by m.manufacturers_name"); Quote Link to comment Share on other sites More sharing options...
euskopc Posted December 18, 2004 Author Share Posted December 18, 2004 *************************** DropDownMenu 2.7 Alpha 2 *************************** Allow the use of DropDownMenu in SSL and NON_SSL pages. 1.-Create a file named blank.php (nothing in this file) and copy it in the catalog directory. 2.-Open catalog/jsrsclient.js: case 'IE': document.body.insertAdjacentHTML( "afterBegin", '<span id="SPAN' + containerName + '"></span>' ); var span = document.all( "SPAN" + containerName ); var html = '<iframe name="' + containerName + '" src=""></iframe>'; span.innerHTML = html; span.style.display = 'none'; container = window.frames[ containerName ]; break; Change it with this: case 'IE': document.body.insertAdjacentHTML( "afterBegin", '<span id="SPAN' + containerName + '"></span>' ); var span = document.all( "SPAN" + containerName ); var html = '<iframe name="' + containerName + '" src="blank.php"></iframe>'; span.innerHTML = html; span.style.display = 'none'; container = window.frames[ containerName ]; break; 3.-Open catalog/includes/boxes/categories_js.php and search this: var dropdownmenu_path = "<?php echo DIR_WS_HTTP_CATALOG ?>"; Replace with this: [CODE]var dropdownmenu_path = "<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_HTTPS_CATALOG ?>"; ******************************* Mozilla advertise that we are sending information from SSL page to NON_SSL, the posible fix to this isue is change this line: tep_draw_form("QForm", tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, "", "NONSSL", false), "get") . With this one: tep_draw_form("QForm", tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, "", $request_type, false), "get") . I don't like the fix because the search show the results in a SSL page, I prefer the advertise. Quote Link to comment Share on other sites More sharing options...
euskopc Posted December 20, 2004 Author Share Posted December 20, 2004 WOW!! I like a lot your webpage!! I'll try today find a solution for you. Do you have messenger for speed up the tests? Quote Link to comment Share on other sites More sharing options...
euskopc Posted December 20, 2004 Author Share Posted December 20, 2004 WOW!!I like a lot your webpage!! I'll try today find a solution for you. Do you have messenger for speed up the tests? <{POST_SNAPBACK}> Pardon, Its an error :blush: How to edit? Quote Link to comment Share on other sites More sharing options...
peteravu Posted December 20, 2004 Share Posted December 20, 2004 I?m sorry to disturb this tread. But I really need some help to change my currency dropdown menu. I do only export, therefore will I use my local currency as the default currency, but I don?t like to show it in the shop. Dos you know how to do that? I think there are tow ways either selects USD, AUD?????.. OR make at table in the database ?currencies_disable_currency? and 1 for enabled 0 for disabled, than the dropdown only select the enabled currencies. If anybody knows how to do that I will be very happy, have been looking for this for long time. Quote Thanks to all that contributed to separate_price_per_customers_4.2.2_for_2.3.1, Add Multiple Products with plus/minus buttons, One Page Checkout for 2.3.1, Multi Attribute V2, Login Box Club osCommerce Shipping Date Chooser for 2.3.1, Quickly Update Product Stock 3.8.5 Español and order number in email subject Forum, Thanks Designing New Themes the Easy Way, how-to-set-backgrounds. my contributions Add Multiple Product In Product Listing 2.3.1 v.1.0 and Multiple Attribute entry boxes in product info page v1.0 for 2.3.1 Link to comment Share on other sites More sharing options...
rubygirl Posted December 20, 2004 Share Posted December 20, 2004 I?m sorry to disturb this tread. But I really need some help to change my currency dropdown menu.I do only export, therefore will I use my local currency as the default currency, but I don?t like to show it in the shop. Dos you know how to do that? I think there are tow ways either selects USD, AUD?????.. OR make at table in the database ?currencies_disable_currency? and 1 for enabled 0 for disabled, than the dropdown only select the enabled currencies. If anybody knows how to do that I will be very happy, have been looking for this for long time. <{POST_SNAPBACK}> this thread is about the advanced search drop down - you might want to post under General Support instead - might have more people looking at it ... also, when you repost somewhere else - try to explain a little more - cant understand what you are looking to do.... Quote Link to comment Share on other sites More sharing options...
peteravu Posted December 20, 2004 Share Posted December 20, 2004 Sorry rubygirl my english not so good, any way I was lucy today after try to find out of this fore about 3 months finaly got the selution today. Quote Thanks to all that contributed to separate_price_per_customers_4.2.2_for_2.3.1, Add Multiple Products with plus/minus buttons, One Page Checkout for 2.3.1, Multi Attribute V2, Login Box Club osCommerce Shipping Date Chooser for 2.3.1, Quickly Update Product Stock 3.8.5 Español and order number in email subject Forum, Thanks Designing New Themes the Easy Way, how-to-set-backgrounds. my contributions Add Multiple Product In Product Listing 2.3.1 v.1.0 and Multiple Attribute entry boxes in product info page v1.0 for 2.3.1 Link to comment Share on other sites More sharing options...
euskopc Posted December 22, 2004 Author Share Posted December 22, 2004 (edited) ***************************DropDownMenu 2.7 Alpha 2 *************************** Allow the use of DropDownMenu in SSL and NON_SSL pages. 1.-Create a file named blank.php (nothing in this file) and copy it in the catalog directory. 2.-Open catalog/jsrsclient.js: case 'IE': document.body.insertAdjacentHTML( "afterBegin", '<span id="SPAN' + containerName + '"></span>' ); var span = document.all( "SPAN" + containerName ); var html = '<iframe name="' + containerName + '" src=""></iframe>'; span.innerHTML = html; span.style.display = 'none'; container = window.frames[ containerName ]; break; Change it with this: case 'IE': document.body.insertAdjacentHTML( "afterBegin", '<span id="SPAN' + containerName + '"></span>' ); var span = document.all( "SPAN" + containerName ); var html = '<iframe name="' + containerName + '" src="blank.php"></iframe>'; span.innerHTML = html; span.style.display = 'none'; container = window.frames[ containerName ]; break; 3.-Open catalog/includes/boxes/categories_js.php and search this: var dropdownmenu_path = "<?php echo DIR_WS_HTTP_CATALOG ?>";[code] Replace with this: [CODE]var dropdownmenu_path = "<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_HTTPS_CATALOG ?>"; ******************************* Mozilla advertise that we are sending information from SSL page to NON_SSL, the posible fix to this isue is change this line: tep_draw_form("QForm", tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, "", "NONSSL", false), "get") . With this one: tep_draw_form("QForm", tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, "", $request_type, false), "get") . I don't like the fix because the search show the results in a SSL page, I prefer the advertise. <{POST_SNAPBACK}> Little changes to DropDownMenu 2.7 Alpha 2 *************************** DropDownMenu 2.7 Alpha 3 *************************** Change this: var dropdownmenu_path = "<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_HTTPS_CATALOG ?>"; With this: var dropdownmenu_path = "<?php echo (($request_type == 'SSL') ? HTTPS_SERVER . DIR_WS_HTTPS_CATALOG : HTTP_SERVER . DIR_WS_HTTP_CATALOG) ?>"; Edited December 22, 2004 by euskopc Quote Link to comment Share on other sites More sharing options...
rubygirl Posted December 22, 2004 Share Posted December 22, 2004 dropdown is up and working well - with exception of delay in manufacturer dropdown but i also noticed that if i go to www.domain.com it's fine, if is go to domain.com the dropdown is greyed out... how can i fix? Quote Link to comment Share on other sites More sharing options...
euskopc Posted December 23, 2004 Author Share Posted December 23, 2004 (edited) Another modification to this line to solve the problem reported by rubygirl: Change the line: var dropdownmenu_path = "<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_HTTPS_CATALOG ?>"; With this one: var dropdownmenu_path = "<?php echo (($request_type == 'SSL') ? 'https://' . $_SERVER['HTTP_HOST'] . DIR_WS_HTTPS_CATALOG: 'http://' . $_SERVER['HTTP_HOST'] . DIR_WS_HTTP_CATALOG) ?>"; Thanks Rubygirl Edited December 23, 2004 by euskopc Quote Link to comment Share on other sites More sharing options...
rubygirl Posted December 24, 2004 Share Posted December 24, 2004 Another modification to this line to solve the problem reported by rubygirl: Change the line: var dropdownmenu_path = "<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_HTTPS_CATALOG ?>"; With this one: var dropdownmenu_path = "<?php echo (($request_type == 'SSL') ? 'https://' . $_SERVER['HTTP_HOST'] . DIR_WS_HTTPS_CATALOG: 'http://' . $_SERVER['HTTP_HOST'] . DIR_WS_HTTP_CATALOG) ?>"; Thanks Rubygirl <{POST_SNAPBACK}> unfortunately now we are having the trouble again with the menu being greyed out again when i redirect to https://..... help???? and have a happy holiday!!! Quote Link to comment Share on other sites More sharing options...
rubygirl Posted December 24, 2004 Share Posted December 24, 2004 unfortunately now we are having the trouble again with the menu being greyed out again when i redirect to https://..... help???? and have a happy holiday!!! <{POST_SNAPBACK}> okay so i changed categories_js.php to read: var dropdownmenu_path = "<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"; and this works great regarding the SSL or NON_SSL dropdown menu issues - either way the menu works fine - shared ssl or not. however with the above code, we loose the function of the htttp://www.domain.com vs http://domain.com again ... any ideas? Quote Link to comment Share on other sites More sharing options...
TAPAKAH Posted January 22, 2005 Share Posted January 22, 2005 Is there a way to use this in the actual body of the page instead of in an infobox? I would like to have a drop down menu like this for my sub catagories. Any sugestions on this is greatly appreciated. Jason <{POST_SNAPBACK}> Quote Link to comment Share on other sites More sharing options...
outdoor Posted February 25, 2005 Share Posted February 25, 2005 Hi, First, I will thanks a lot for this genious contribution. Unfortanely, the entries /catehories/subcats, manufacturers) don't appears in Apple's Safari Browser within the dropdowns. I tested al lot of Plattform / Browser combination - all works fine except Safari. Successful tests, which I made: -Firefox on Win 2000 / XP -> well! -Iexplorer 5.5 / 6 on Win 2000 / XP -> well -Firefox on Suse Linux 9.2 -> well! -Mozilla, 1.6 on Sun Solaris 9 -> well -NS 7.1 on Sun Solaris 9 -> well! -Mozilla 1.3, 1.6 on Apple OSX -> well! -Iexplorer 5.2 on Apple OSX -> well ...and the bad news: -Konqueror on Suse Linux 9.2 -> bad! -Safari on Apple OSX -> bad! O.K. - Ithink Konqueror is not that important for me, but the Safari is meanwhile the No.1 - Browsersuite for Apple users. I installed for testing a "naked" oscommerce-Suite, only with this contribution. So I can ensure, that no other contrib's provocated this malfunctions. Has anybody an Idea or workaround? Thanks a lot for your help! outdoor Quote Link to comment Share on other sites More sharing options...
gms Posted March 7, 2005 Share Posted March 7, 2005 I'm trying to configure this contrib on the admin side for use with a set of dropdowns that consist of manufacturer, vehicle models and vehicle sub models. i have the tables set up and, individually, they all work fine. I installed the files as suggested with some porting, since this is on the admin side. when the first call is made to tep_draw_pull_down_menu [tep_draw_pull_down_menu("manufacturers",""), I get this: Fatal error: Cannot use string offset as an array in /home/wwwsite/ezone/admin/includes/functions/html_output.php on line 298 I know that the author had expressed interest in making this contrib for the admin side, and I'd be happy to work this out with the author, as well as provide some assistance on documentation and upgrades (I'm a data architect with lots of experience at technical documentation)... I need to get this working, so I'm happy to trade the time with you to get it right. Look forward to a reply. Regards JD Quote Link to comment Share on other sites More sharing options...
euskopc Posted March 7, 2005 Author Share Posted March 7, 2005 Pardon to all the community members that would like use this contribution, or others that need modifications for their sites... but, because of changes in my job I could not support this contrib for a long period of time (probably never :( ) I hope that the most experienced users could make the changes and fixes that this contribution needs (mainly compatability with the browsers). Sorry. Quote Link to comment Share on other sites More sharing options...
ryes Posted March 19, 2005 Share Posted March 19, 2005 Hi, i'm a beginner. I don't understand instructions install. Can you help me ? What is class tableBox and where can i find it ? Thank you. ---- /**********2**********/ *This code and the instructions are adapted from another Oscommerce contribution, for this reason many thanks for COOLMENU creators!!! If you have installed coolmenu in your webshop go directly to step 3 2A) in class tableBox After line 20 between var $table_data_parameters = ''; and // class constructor add the line var $table_string = ''; so that it looks like: var $table_data_parameters = ''; var $table_string = ''; // class constructor 2B) in class tableBox After around line 72 before return $tableBox_string; add the line $this->table_string = $tableBox_string; so that it looks like if ($direct_output == true) echo $tableBox_string; $this->table_string = $tableBox_string; return $tableBox_string; 2C) in class infoBox At around line 78 change the constructor from originally function infoBox($contents) { to function infoBox($contents, $direct_output = true) { 2D) class infoBox Around line 83 at the end of the constructor change from $this->tableBox($info_box_contents, true); } to $this->tableBox($info_box_contents, $direct_output); } 2E) in class infoBoxHeading At around line 103 change the constructor from originally function infoBoxHeading($contents, $left_corner = true, $right_corner = true, $right_arrow = false) { to function infoBoxHeading($contents, $left_corner = true, $right_corner = true, $right_arrow = false, $direct_output = true) { 2F) in class infoBoxHeading Around line 130 at the end of the constructor change from $this->tableBox($info_box_contents, true); } to $this->tableBox($info_box_contents, $direct_output); } /**********3**********/ Quote Link to comment Share on other sites More sharing options...
chycco Posted April 1, 2005 Share Posted April 1, 2005 First of all thanx so much for this contribution :) It solve my life :D Maybe i have not read all the posts of the thread......my question is: With the predefined module we have 3 box: - manufactures - categories - subcategories eh....how can i add a subcategory more? Or more and more? :D - manufactures - categories - subcategories (1) ... - subcategories (n) Thanx in advance for every answer :) Quote Link to comment Share on other sites More sharing options...
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.