Jump to content


  • Content count

  • Joined

  • Last visited

  • Days Won


Everything posted by rudolfl

  1. Yes, Jim, you are right Removing empty <div>s did not help. Worked when I removed them in Chrome development tools, but not when I modified the code to generate the layout Back to drawing board :-( Rudolf
  2. Files are not missing -- there is an include for file that is not required. As for layout -- I fixed it (I think, I did) Just uploaded file with fix to the contribution: http://addons.oscommerce.com/info/7847 Rudolf
  3. OK, got it working. Almost to my liking too. Submitted fix to: http://addons.oscommerce.com/info/7847 What I also want/plan to do in the near future: -- Do not expand categories that are without sub-categories. Should be relatively simple -- those empty spaces are caused by empty <div> after <h3>. I also want to remove '+' for those categories. -- If user goes back to home page, all categories should show as non-active. In my case, for some reason, first one is set as active -- Links. Are there any reason all links are set to "#" and actual link is set in the onclick()? I think, for SEO puproses, actual link should be used instead of '#'. -- Styling of subcategories display should be improved. (Once user expands category that has subcategories) Rudolf
  4. Hi, Jim, Thank you for your response. 1. Regarding icons.txt file -- there is a small bug in bm_categories_accordion.php. Line 299. $file = '/ext/jquery/ui/icons.txt'; Should be: $file = DIR_FS_CATALOG . '/ext/jquery/ui/icons.txt'; 2. Regarding my fix for visual appearance -- this was something I quickly tried later at night. It is not a proper fix as I found. Seems that code emits extra </div> before it outputs any categories. With my fix, this is gone, but extra </div> appears at the end, causing some JS code to appear as part of menu. 3. Regarding appearance of categories without subcategories -- I'll try to look at it when I have chance. You are right -- it may be not as easy to implement. Thanks, Rudolf
  5. I think, I found the problem. bm_categories_accordion.php Line 239: $data = ' </div>' . PHP_EOL; $data .= $categories_string . PHP_EOL; Replace with: $data = $categories_string . PHP_EOL; $data .= ' </div>' . PHP_EOL; Basically, only put closing </div> AFTER you output the category, not before. I still have an issue where last menu item shows some Javascript code: $(function() { $( "#categoriesMenu" ).accordion({ autoHeight: false, icons: { 'header': 'ui-icon-plus', 'headerSelected': 'ui-icon-minus' }, active: 4 }); }); This is what appears on the last menu item. And a question/suggestion. If category does not have subcategories, it should not have '+' next to it. Also, clicking on it, should not open up an empty submenu. Rudolf
  6. Hi, Trying to install on "virgin" 2.3.3 1. Latest release is missing file icon_select.php I had to use one from previous release. This removes the error about missing file. (btw, ins tructions for this file are missing from readme as well). 2. Layout is all screwed up. Instead of being contained in the box, menu takes up whole screen. 3. Admin page. Drop down boxes for icon selection are empty. osCommerce 2.3.3. Browser Chrome and Firefox on Ubuntu 12.04 I am mainly concerned about point 2. Any ideas? Thanks, Rudolf P.S. Quick look reveals that somehow accordion box inserts itself OUTSIDE of left column. Basically, accordion box closes <div> of left column and then places itself there. Then it is taking whole page.
  7. rudolfl

    Official PayPal IPN Support Thread

    Hi, all Can someone help me? When I installed the mod, everything worked just fine. Then something happened and PayPal is no longer shows up in the list of available payment methods. I did not change anything and my "backup" server at home seem to work fine. I checked if PayPal IPN module is installed and it is. Then I tried to change the sort order and more weird things started to happen. I only accept Credit Cards and PayPal. Credit Card method is at sort order 0. Setting PayPal IPN to any number does not help and setting it to 1 causes Credit Card method to disappear. I have a feeling that it is something to do with hosting environment. It is running PHP 5.2.1. I have tried to uninstall and install the module through Admin control panel. Any help will be greatly appreciated. Sincerely, Rudolf Hats From Oz
  8. rudolfl

    CCGV question

    Hi, all I did not find the forum for the excellent CCGV contribution. If anyone is using it, I have a simle question -- how to delete the gift vouchers? I have couple of test ones and couple of error ones. I can go and delete them manually from database, but thought there is a "proper" way. Thanks, Rudolf
  9. I thought this happens "automagically". I am selling hats and, of course, they come in different colours and sizes. When customer adds a hat to shopping cart, they are selecting required attributes and hat is added. If they want exactly same hat, they will change the quantity. If they want one that has different attribute, they have to add it to cart again. Try it (www.hatsfromoz.com.au). What is your site address? Rudolf
  10. rudolfl

    Infoboxes on move?

    Hi, all Here is what I want to do: Infoboxes in right and left columns are stationery. If your page has a lot of information (for example large list of products), as people scroll down the page info boxes are dissapering from view. Is there a way for infoboxes to move as page is scrolled? If such a contribution does not exist, how would one implement such a feature? Any pointers will be greatly appreciated. Thanks, Rudolf