digital_sc4rz Posted June 16, 2009 Share Posted June 16, 2009 (edited) i've installed this but the popup dont work ? Any idea's on whats happening here My config looks like: Please note i've change my real domain name to mydomain !!! define('HTTP_SERVER', 'http://www.mydomain.com'); define('HTTPS_SERVER', 'http://www.mydomain.com'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', 'www.mydomain.com'); define('HTTPS_COOKIE_DOMAIN', 'www.mydomain.com'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/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/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/********/public_html/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); This looks ok variable wise does to me ! REPLACE WITH NOTE: YOUR OSCommerce may use slightly different configuration variables. You can verify the line below containing by looking at your /catalog/includes/configure.php file. Change as required. href="java script:popupWindow(\'' . HTTP_CATALOG_SERVER . DIR_WS_CATALOG . DIR_WS_IMAGES . $orders_products_pic['products_image'] .'\''.')">' ############################################################## $orders_products_pic_query = tep_db_query("select products_model, products_image from " . TABLE_PRODUCTS . " where products_id = '".(int)$order->products[$i]['id']."' "); $orders_products_pic = tep_db_fetch_array($orders_products_pic_query); echo ' </td>' . "\n". ' <td class="dataTableContent" valign="top"><a href="java script:popupWindow(\'' . HTTP_SERVER . DIR_WS_HTTP_CATALOG . DIR_WS_IMAGES . $orders_products_pic['products_image'] .'\''.')">'. $order->products[$i]['model'] . '</td>' . "\n" . This is the mod i'm trying to install > http://www.oscommerce.com/community/contributions,5736 Edited June 16, 2009 by digital_sc4rz 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.
Note: Your post will require moderator approval before it will be visible.