patrickn Posted September 30, 2004 Share Posted September 30, 2004 ?return false; } br>'); ? ?doc.write( '<table border="1"><tr><td>' + contextObj.container.document.body.innerHTML + '</td></tr></table>' ); ?} ?doc.write('</table>'); ?doc.close(); ?return false; } This is the last code of the jsrsClient.js. Is this correct? <{POST_SNAPBACK}> This is what i read in my server logs: [Thu Sep 30 23:03:23 2004] [error] [client 80.x.x.67] File does not exist: /home/websites/www.prosolit.nl/html/images/default, referer: http://www.prosolit.nl/ltfnew//index.php?o...1e0cc653149bc51 Quote Link to comment Share on other sites More sharing options...
patrickn Posted September 30, 2004 Share Posted September 30, 2004 This is what i read in my server logs: [Thu Sep 30 23:03:23 2004] [error] [client 80.x.x.67] File does not exist: /home/websites/www.prosolit.nl/html/images/default, referer: http://www.prosolit.nl/ltfnew//index.php?o...1e0cc653149bc51 <{POST_SNAPBACK}> These errors does not apear anymore Quote Link to comment Share on other sites More sharing options...
euskopc Posted October 1, 2004 Author Share Posted October 1, 2004 Your jsrsClient.js file is incorrect. Please download it again and replace your damaged file. Quote Link to comment Share on other sites More sharing options...
patrickn Posted October 1, 2004 Share Posted October 1, 2004 Your jsrsClient.js file is incorrect. Please download it again and replace your damaged file. <{POST_SNAPBACK}> Downloaded a new copy of 2.7 and replaced the file, not helping..... :( Quote Link to comment Share on other sites More sharing options...
euskopc Posted October 1, 2004 Author Share Posted October 1, 2004 Ok, I think that now the damaged file is catalog/includes/boxes/categories_js.php :( but... restore all the files of the contribution I hope that some day you can use this contribution :D Quote Link to comment Share on other sites More sharing options...
patrickn Posted October 2, 2004 Share Posted October 2, 2004 Ok, I think that now the damaged file is catalog/includes/boxes/categories_js.php :( but... restore all the files of the contribution I hope that some day you can use this contribution :D <{POST_SNAPBACK}> Nope not working Quote Link to comment Share on other sites More sharing options...
euskopc Posted October 2, 2004 Author Share Posted October 2, 2004 Nope not working <{POST_SNAPBACK}> I don't understand anything, are you changing the code? See at your categories_js.php you have this: style="\"'width:98%; background-color= #ffffff;\' Why?????????????????????????? The correct one is: style="\'width:98%; background-color= #ffffff;\'><\/ I'm going to be mad :'( Quote Link to comment Share on other sites More sharing options...
patrickn Posted October 2, 2004 Share Posted October 2, 2004 I don't understand anything, are you changing the code?See at your categories_js.php you have this: style="\"'width:98%; background-color= #ffffff;\' Why?????????????????????????? The correct one is: style="\'width:98%; background-color= #ffffff;\'><\/ I'm going to be mad :'( <{POST_SNAPBACK}> I did not change the code! :'( Quote Link to comment Share on other sites More sharing options...
euskopc Posted October 2, 2004 Author Share Posted October 2, 2004 Mulder, Skully I've problems!! :D Could you connect to the oscommerce channel in the IRC-hispano? http://www.irc-hispano.org/index.php?secci...&can=oscommerce Quote Link to comment Share on other sites More sharing options...
dabase11 Posted October 4, 2004 Share Posted October 4, 2004 I have added the drop down to my site but for some reason it is putting all the catagories into one dropdown. Any thoughts on what I could be doing? The link is: http://myteamstuff.com/retail/ Thanks for the help. Bob ######################## This code repair the bug but disable the history back (back button) with the reloads. This is only a patch, I think that is important the back button. <?php $javascript=""; $javascript = $_POST['javascript']; if ($javascript=="") ?{ ?$javascript="0"; ?> ? <form name="js_habilitado" ?method="post"> ? <input type="hidden" name="javascript" value="1"> ? </form> ? <script><!-- document.js_habilitado.submit(); ? //--> ? </script> <?php ? } ?> <{POST_SNAPBACK}> Quote Link to comment Share on other sites More sharing options...
euskopc Posted October 4, 2004 Author Share Posted October 4, 2004 Have you installed DropDownMenu v2.7? This is the url: http://www.oscommerce.com/community/contributions,2306 Quote Link to comment Share on other sites More sharing options...
pixelegg Posted October 9, 2004 Share Posted October 9, 2004 Hi, with the changes come with version 2.5 the dropdown menu needs up to 6 seconds to fill in the models after choosing the manufacturer. I have delete the code from version 2.5 in select_rs.php and now the menu is very fast. But delete code is not the best solution. When you need to see it on www.tonermodule.de/osc/catalog/ i will swap the select_rs.php for you. At the moment the fast version run. Greetings Martin I hope you understand my horrible english :-) Quote Link to comment Share on other sites More sharing options...
FOL Posted October 12, 2004 Share Posted October 12, 2004 hi there, I did a complete new install, and guess what ... it works. It probably conflicted with another contribution. But only one thing: Upon starting the oscommerce-shop in the browser, IE reports a runtime error (line 147), after continuing it does not load the search box. Only after reloading the page it works ok. Does this ring a bell ? Quote Link to comment Share on other sites More sharing options...
BIP Posted October 14, 2004 Share Posted October 14, 2004 Hi, Well done for this contribution... it's now really funny to find something... For me, this contribution works perfectly, but not for Safari browser (the Apple Browser). MY QUESTION: I would like to add a filter (in the same way of 'manufacturer', 'cat' and 'subcat') but for another field called 'region'. I would lik eto put this filter just before 'manufacturer' or after 'sub_catergory') 'region' come from TABLE 'region' with 2 fields ('region_id' and 'region_name') and there is a field in TABLE 'products' -> 'region_id' My knowledge in script is not enough for devellopping it, thanks for your help. Sorry for my poor english. Quote Link to comment Share on other sites More sharing options...
FOL Posted October 15, 2004 Share Posted October 15, 2004 Hi, Allthough not (yet) seen a reaction on my last post, I have some other questions/suggestions: 1. In this contribution you allways start to select the manufacturer, then choose the catagory, and afterwards the subcatagory. Is is possible to change this contibution a little to make it possible to start choosing a catagory first, or even a subcatagory, than choosing a manufacturer (limited to the ones which are available in that catagory). I think it would make everything more functional. 2. Is it possible to make a separate reset button instead of the reset function in the first line. 3. It would be nice if the order of the lines could be changed in the admin section. Manufacturer (0), catagory (1), subcatagory (2) or Catagory (0), subcatagory (1), manufacturer (2), I have no knowledge about the code myself, so I post this as a suggestion. Quote Link to comment Share on other sites More sharing options...
euskopc Posted October 20, 2004 Author Share Posted October 20, 2004 Please, forgive my absence for so many days (mini-holidays). unfortunately I'm trying to end my webpage in the next days and for this reason I cannot help you a lot :'( pixelegg, when I'll work in your problem when I've finished the web. FOL, a lot of days have been passed... have you solved the problem? I've have read your beatifull suggestions... but it requires a lot of work. I've done this contrib for my web and it makes me very happy seing that more people use it, I cannot promise you that I'll code it (could be, but not in a short period of time). BIP I think that konqueror have problems and I've to solve it, but I don't know how to solve the safary problems :-( The regions... please read the FOLs answer. I Would like to be able to help you much more with everything what you need, but I do not have enought time at the momment Quote Link to comment Share on other sites More sharing options...
FOL Posted October 21, 2004 Share Posted October 21, 2004 Hi Ivan, I hope you enjoyed your holiday. Thanks for your reply. Yes my problem stil exist. Upon starting the oscommerce-shop in the browser, IE reports a runtime error (line 147), after continuing it does not load the search box. Only after reloading the page it works ok. Regarding my other mail (all the suggestions): I really like your contibution a lot. Allthough my shop is not online yet (I'm working hard on it), I would like to use your contribution instead of the categorybox. When it would be possible to implement my suggestions I could do without the space-consuming category-box and use your contribution. I hope you can solve my problem first. If you need any extra info, please let me know. There is one little problem, you cannot reach my site yet. Quote Link to comment Share on other sites More sharing options...
euskopc Posted October 21, 2004 Author Share Posted October 21, 2004 I'm agree, can you say me whats the afected file? Firefox browser could tell you more information about the error (Tools -> Javascript console) than Internet Explorer. Quote Link to comment Share on other sites More sharing options...
alexfize Posted October 26, 2004 Share Posted October 26, 2004 Hello everyone I 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 Quote Link to comment Share on other sites More sharing options...
pixelegg Posted November 2, 2004 Share Posted November 2, 2004 Hi, on default page the box works fine. But when you go to login and the page switch to ssl the fields in the box have no funktion and with IE comes the message that the page contains secure and unsecure content. I have remove the box from all pages with ssl. Now IE is ok but the customers can not use the search at these pages. Do you have an idee why the box not work with ssl? Thank you f?r help. Quote Link to comment Share on other sites More sharing options...
euskopc Posted November 4, 2004 Author Share Posted November 4, 2004 :o As I said in other posts I have not enought time for all your requests by the moment. Pixelegg, I've fixed your problem but I don't send it to the oscommerce contributions page because I want a better install instructions to the dropdownmenu contribution and my english is horrible (If anybody have a momment for update this install instructions, please mail me!) . This is not the final code but it works fine: 1.-Create a file named blank.php (nothing in this file) and copy it in the catalog directory (http and https) 2.-Open catalog/jsrsclient.js (http and https) and search this: 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 (https only) and search this: var dropdownmenu_path = "<?php echo DIR_WS_HTTP_CATALOG ?>"; Replace with this: var dropdownmenu_path = "<?php echo HTTPS_SERVER . DIR_WS_HTTPS_CATALOG ?>"; The Opera browser fails with dropdownmenu contribution if Panda Internet Security is active, I've talked about this problem with Panda Labs and they've said me that It will be fixed In the next release of the panda software. Quote Link to comment Share on other sites More sharing options...
pixelegg Posted November 4, 2004 Share Posted November 4, 2004 :o As I said in other posts I have not enought time for all your requests by the moment. Pixelegg, I've fixed your problem but I don't send it to the oscommerce contributions page because I want a better install instructions to the dropdownmenu contribution and my english is horrible (If anybody have a momment for update this install instructions, please mail me!) . This is not the final code but it works fine: 1.-Create a file named blank.php (nothing in this file) and copy it in the catalog directory (http and https) 2.-Open catalog/jsrsclient.js (http and https) and search this: 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 (https only) and search this: var dropdownmenu_path = "<?php echo DIR_WS_HTTP_CATALOG ?>"; Replace with this: var dropdownmenu_path = "<?php echo HTTPS_SERVER . DIR_WS_HTTPS_CATALOG ?>"; The Opera browser fails with dropdownmenu contribution if Panda Internet Security is active, I've talked about this problem with Panda Labs and they've said me that It will be fixed In the next release of the panda software. <{POST_SNAPBACK}> Thank you very much. IE is now OK. SSL: The shop is running on a shared web space. So i have only one catalog directory. Only the login, account and checkout pages run with ssl. But i have made a copy from categories_js.php and named it categories_js_ssl.php. With an extra column_left_account.php it works fine with the new code. Mozilla and Firefox: Please have a look with Mozilla or Firefox at www.tonermodule.de/osc/catalog/login.php When you use the box an klick search a new security warning comes up. Many greetings from Germany :-) Martin Quote Link to comment Share on other sites More sharing options...
euskopc Posted November 4, 2004 Author Share Posted November 4, 2004 Thank you very much. IE is now OK. SSL: The shop is running on a shared web space. So i have only one catalog directory. Only the login, account and checkout pages run with ssl. But i have made a copy from categories_js.php and named it categories_js_ssl.php. With an extra column_left_account.php it works fine with the new code. Mozilla and Firefox: Please have a look with Mozilla or Firefox at www.tonermodule.de/osc/catalog/login.php When you use the box an klick search a new security warning comes up. Many greetings from Germany :-) Martin <{POST_SNAPBACK}> When I go to www.tonermodule.de/osc/catalog I don't see links to http://www.tonermodule.de/osc/catalog/login.php the links go to https://www.tonermodule.de/osc/catalog/login.php and the page loads without errors Quote Link to comment Share on other sites More sharing options...
pixelegg Posted November 5, 2004 Share Posted November 5, 2004 My english is not the best....and the link was wrong :-( please go to https://sslsites.de/tonermodule.de/osc/catalog/login.php The page loads without errors. Then select manufacturer, categorie and klick "Ansehen" in the Box. Now the security warning comes up. But only with Mozilla and Firefox. Quote Link to comment Share on other sites More sharing options...
rubygirl Posted December 1, 2004 Share Posted December 1, 2004 (edited) hello! i have installed this contrib and all seemed fine until i checked the index page and although the infobox loads fine and all dropdowns are seen - no data is populated in any dropdown and they are all greyed out .... however the search box works fine.... any ideas? Edited December 1, 2004 by rubygirl 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.