Jump to content

frankyou

Members
  • Content count

    24
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    frank 123
  • Gender
    Male
  1. frankyou

    "Dynamenu" for osCommerce

    Hi, I can't find similar code in catalog/index.php,could you advise if it is located in somewhere?
  2. frankyou

    "Dynamenu" for osCommerce

    Hi, Here is My link
  3. frankyou

    "Dynamenu" for osCommerce

    Hi Sijo, I have played around with these 3 value,but it doesn't fit all cases, My monitor set resolution 1600x900,and the width of OSC content is 1024, after installed the addon I mentioned and without any modify, when I using firefox & maximize the window to browse,the vertical menu will be offset, then I try to modify below value $menu_layer_offset = array (-42,4,4); but just can modify it to fit when the windows is maximize,if the winodws is not maximize,then the submenu will on the left hand side of the main menu windows not maximize case windows is maximized case
  4. frankyou

    "Dynamenu" for osCommerce

    Hi All, The Dynamenu is working at all,but after I tried the Verticaly Center OSC (working IE6 through 8) the menu was horizontal offset as picture,I think there should be CSS problem,but I don't know much of it,any one has idea about this problem,thx! Below code is instruction of Verticaly Center installing Verticaly Center OSC (working IE6 through 8 Verticaly Center your oscommerce webshop with this easy CSS code that should work on all browsers including IE6 through 8. Play with the width and padding under #container to fit your needs :) Enjoy Open /catalog/stylesheet.css Find the following code (this code can differ depending on what changes you have done to your stylesheet.css file): BODY { background: #ffffff; color: #000000; margin: 0px; } Replace with: BODY { background: #ffffff; color: #000000; margin: 0; padding: 0; text-align:center; } #CONTAINER { width: 990px; margin-left: auto; margin-right: auto; margin-top: 20px; padding: 1 10 10 10; background: #ffffff; position:relative; overflow:hidden; } ---- Open /catalog/include/header.php Find the following code: if ($messageStack->size('header') > 0) { echo $messageStack->output('header'); } ?> Straight after add the following code: <div id="CONTAINER"> ---- Open /catalog/include/footer.php Find the following code: <td align="center"><?php echo tep_display_banner('static', $banner); ?></td> </tr> </table> <?php } ?> Straight after add the following code: </div> ----
  5. frankyou

    [contribution] Simple Template System (sts)

    Hi, How do I vertical center my OSC under STS 4.6. I have follow this contribution Verticaly Center OSC (working IE6 through 8),it is successful if not enable STS, after that I copied the stylesheet.css to my template folder and modify the sts_template.html pointing to correct css file,but it doesn't work with the vertical center function,what is the problem? Verticaly Center your oscommerce webshop with this easy CSS code that should work on all browsers including IE6 through 8. Play with the width and padding under #container to fit your needs :) Enjoy Open /catalog/stylesheet.css Find the following code (this code can differ depending on what changes you have done to your stylesheet.css file): BODY { background: #ffffff; color: #000000; margin: 0px; } Replace with: BODY { background: #ffffff; color: #000000; margin: 0; padding: 0; text-align:center; } #CONTAINER { width: 990px; margin-left: auto; margin-right: auto; margin-top: 20px; padding: 1 10 10 10; background: #ffffff; position:relative; overflow:hidden; } ---- Open /catalog/include/header.php Find the following code: if ($messageStack->size('header') > 0) { echo $messageStack->output('header'); } ?> Straight after add the following code: <div id="CONTAINER"> ---- Open /catalog/include/footer.php Find the following code: <td align="center"><?php echo tep_display_banner('static', $banner); ?></td> </tr> </table> <?php } ?> Straight after add the following code: </div> ----
  6. frankyou

    PayPal Express Checkout IPN Payment Module

    Anyone have idea?
  7. frankyou

    PayPal Express Checkout IPN Payment Module

    Hi All, I would like to apply this Express Checkout IPN Module,but carefully read the install & configuration,this module only support API Certificate instead of API Signature,is there any difference between them? I used to use Paypal Express Checkout as payment method which support API Signature. As I am still testing my site,so I would like to know which setting is more suitable for me(Certificate or Signature ),millions thx! Frank Wong
  8. frankyou

    Orders at-a-glance

    Just found this great addon,after installed,seems something wrong, below is error displayed before login admin page,anyone have clue about that, million thanks! Fresh install of rc2a // Function : tep_html_noquote // Arguments : string any string // Return : strips apostrophes from strings //Used with "Orders at a glance" and "Comments at a Glance" to workaround problem with apostrophes, double quotes, and line breaks function tep_html_noquote($string) { $string=str_replace(''', '', $string); $string=str_replace("'", "", $string); $string=str_replace('"', '', $string); $string=preg_replace("/\\r\\n|\\n|\\r/", " ", $string); return $string; } Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/mariio12/public_html/catalog/admin/includes/functions/general.php:1315) in /home/mariio12/public_html/catalog/admin/includes/functions/sessions.php on line 102 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/mariio12/public_html/catalog/admin/includes/functions/general.php:1315) in /home/mariio12/public_html/catalog/admin/includes/functions/sessions.php on line 102 Warning: Cannot modify header information - headers already sent by (output started at /home/mariio12/public_html/catalog/admin/includes/functions/general.php:1315) in /home/mariio12/public_html/catalog/admin/includes/functions/general.php on line 22
  9. frankyou

    Shipping cost per product

    Hi Chris, Sorry to jump in as the support thread of this contribution was unable to access! I am confused in the install instruction of file How_To_Install_individual_shipping_4.5.txt in line 90 /catalog/checkout_shipping.php ------------------------------ Change: 'cost' => $quote[0]['methods'][0]['cost']); for: // start indvship //'cost' => $quote[0]['methods'][0]['cost']); 'cost' => $quote[0]['methods'][0]['cost'], 'invcost' => $shipping_modules->get_shiptotal()); // end indvship Does the "change-for" mean "replace-with"?
×