Jump to content

Evario

Members
  • Content count

    10
  • Joined

  • Last visited

  1. Evario

    CSS Menu

    Hi I am trying to port this contribution over to Creloaded. Any idea on how to do this/has anyone done it yet? Thanks in advance, Marc
  2. Evario

    Multi_Vendor_Shipping new thread

    Ok sorry, missed the "United Parcel Service," I was looking for "UPS." Stupid mistake, my other problem still stands however. Thanks, Marc
  3. Evario

    Multi_Vendor_Shipping new thread

    Hi, Thanks for this wonderful contribution, I have been looking for something like this for some time now. I have installed both the catalog and the admin sides without any fatal errors. However I do have one problem, I have succesfully created two vendors but when I try to "manage" the shipping options there is no option to install any of the modules, a picture is worth a thousand words so I included a few screenshots. I also do not see the UPS module. Thanks for the help, Marc
  4. Taosan, Where is your .htaccess file located? Also check your server error logs, if it says that your memory limit is being exceeded you should go ahead and ask your hosting provider to increase the memory limit accordingly. This happened with me and all I had to do was up my memory limit from 8MB to 10MB. Marc
  5. Chemo, First I would like to say thanks for this incredible contrib, from what I have read it seems like a winner. I have installed the contrib and it passes all of the tests on your spider crawling website and works like a charm on the product pages, however I do have one problem. Forgive me if the answer has been mentioned in a previous post but I read through the first 30 pages and could not find a definitive answer, this thread is getting looonggg. A while back Kathy was having problems with the links in her shopping cart, I am having a problem with accessing the secure server. Wether it be logging in or going to checkout from the shopping cart the webpage simply does not load. I am using the latest SEO version with the beta-3 SEO-redirect. My website, www.bladesnthings.com This is my configure file just in case it is a simple mistake here with the cookie settings or anything else: <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.bladesnthings.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://secure14.nexcess.net/bladesnthings.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'bladesnthings.com'); define('HTTPS_COOKIE_DOMAIN', 'bladesnthings.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); //Added for BTS1.0 define('DIR_WS_TEMPLATES', 'templates/'); define('DIR_WS_CONTENT', DIR_WS_TEMPLATES . 'content/'); define('DIR_WS_JAVASCRIPT', DIR_WS_INCLUDES . 'javascript/'); //End BTS1.0 define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/bladesnt/bladesnthings.com/html/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'xxxx'); define('DB_SERVER_PASSWORD', 'xxx'); define('DB_DATABASE', 'xxx'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Thanks in advance for whatever help you can give, I will continue to play around with different setting to see if by some miracle it decides to work. Marc
  6. Hi all, I have been playing around with Chemo's CSS Menu and have run into a few problems. I would like to fix these few things: 1. For some reason or other I have 2 grey bars (top and bottom) on the menu, I would like to get rid of them and have the menu flush against the top left corner. 2. If its not too difficult I would like the menu to collapse if it is clicked on after being expanded. Say a customer clicks on camping, it expands to show categories, and then the customer wants to close the menu and clicks camping again, it would then collapse. 3. This is the more complicated of the three, I would like to have progressive categories. What I mean is that say I have a product in Camping -> First Aid -> Stansport. When a customer clicks on "camping", as it is now all of the categories come up, I would like only the categories directly under "camping" to show up, for this example "First Aid". If they then clicked on "First aid" it would then expand to include the categories in Camping -> First Aid which includes "Stansport." The idea is implemented in the category menus that come with creloaded but I prefer this CSS driven menu. A picture is worth a thousand words so feel free to take a look at my website at www.bladesnthings.com USERNAME: admin PASSWORD: testing. I have the password up now because I am not on a developer server and want to keep people from ordering and the bots out for now. The site is very much a work in progress, feel free to provide suggestions. Oh yeah and the awful green buttons on there will be replaced, dont worry. Please dont place any orders, ssl is not implemented and there are bugs. Thanks, Marc Here is the code to the categories box. <?php /*-----------------------------------------------------------------------------*\ ################################################################################ # # Script name: includes/boxes/css_categories.php # Version: 1.0 # # Copyright © 2005 Bobby Easland # Internet moniker: Chemo # Contact: chemo@mesoimpact.com # # This script is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # Script is intended to be used with: # osCommerce, Open Source E-Commerce Solutions # http://www.oscommerce.com # Copyright © 2003 osCommerce ################################################################################ \*-----------------------------------------------------------------------------*/ ?> <style> dd { margin: 0; padding: 0; list-style-type: none; display:none; } dl, dt, ul, li { margin: 0; padding: 0; list-style-type: none; } #menu { position: relative; top: 0; left: 0; background-color:#528BB8; } dl#menu { width: 16em; } dl#menu dt { cursor: pointer; margin: 4px; height: 20px; line-height: 15px; text-align: center; font-weight: bold; border-bottom: 1px dotted black; background-image: url(''); color: #FFFFFF; } dl#menu dd { border-bottom: 1px dotted black; } dl#menu li { text-align: left; font-weight: bold; background-color:#528BB8; } dl#menu li a, dl#menu dt a { color: #000000; text-decoration: block; display: block; border: 0 none; height: 100%; } dl#menu li a:hover, dl#menu dt a:hover { background-image: url(''); background-color: #63383D; color: #FFFFFF; } </style> <script type="text/javascript"> <!-- window.onload=expand; function expand(id) { var d = document.getElementById(id); for (var i = 0; i<=<? echo sizeof($tree); ?>; i++) { if (document.getElementById('smenu'+i)) {document.getElementById('smenu'+i).style.display='none';} } if (d) {d.style.display='block';} } function changestylenone(id) { var d = document.getElementById(id); if (d) { d.style.backgroundImage='url()'; d.style.color='#63383D'; } } function changestylebg(id) { var d = document.getElementById(id); if (d) { d.style.backgroundImage='url()'; d.style.color='#FFFFFF'; } } //--> </script> <!-- categories //--> <tr> <td> <?php //$info_box_contents = array(); //$info_box_contents[] = array('text' => BOX_HEADING_CATEGORIES); //new infoBoxHeading($info_box_contents, true, false); $categories_string = '<dl id="menu">'."\n"; $info_box_contents = array(); for ($i=0; $i<sizeof($tree);$i++){ $level = substr_count($tree[$i]['text'], ' '); switch ($level) { case 0: if ($i === 0) { $categories_string .= '<dt id="cat'.$i.'" onclick="java script:expand(\'smenu'.$i.'\');" onmouseover="java script:changestylenone(\'cat'.$i.'\');" onmouseout="java script:changestylebg(\'cat'.$i.'\');">'.$tree[$i]['text']. '</dt>'."\n". '<dd id="smenu'.$i.'">'."\n".'<ul>'."\n"; $categories_string .= '<li><a href="' . tep_href_link(FILENAME_DEFAULT, 'cPath='.$tree[$i]['id'], 'NONSSL') . '">' . $tree[$i]['text'] . '</a></li>'."\n"; } else { $categories_string .= '</ul>'."\n".'</dd>'."\n".'<dt id="cat'.$i.'" onclick="java script:expand(\'smenu'.$i.'\');" onmouseover="java script:changestylenone(\'cat'.$i.'\');" onmouseout="java script:changestylebg(\'cat'.$i.'\');">'.$tree[$i]['text'] . '</dt>'."\n". '<dd id="smenu'.$i.'">'."\n".'<ul>'."\n"; $categories_string .= '<li><a href="' . tep_href_link(FILENAME_DEFAULT, 'cPath='.$tree[$i]['id'], 'NONSSL') . '">' . $tree[$i]['text'] . '</a></li>'."\n"; } break; case 2: case 4: default: $c = array(); tep_get_parent_categories($c, $tree[$i]['id']); $c = array_reverse($c); $id = (implode('_', $c) ? implode('_', $c) . '_' . $tree[$i]['id'] : $tree[$i]['id']); $categories_string .= '<li><a href="' . tep_href_link(FILENAME_DEFAULT, 'cPath='.$id, 'NONSSL') . '">' . $tree[$i]['text'] . '</a></li>'."\n"; break; } } $categories_string .= '</ul>'."\n".'</dd>'."\n".'</dl>'."\n"; $info_box_contents[] = array('align' => 'left', 'text' => $categories_string); new menuBox($info_box_contents); ?> <br /> </td> </tr> <!-- categories_eof //-->
×