Jump to content


  • Content count

  • Joined

  • Last visited

Profile Information

  • Real Name
    Erik Nielsen
  1. erik_1099

    Coppermine Contribution

    Thanks for making this available. And thanks for the comment, that answers my question somewhat about this contrib. I'm looking to set up a store for a photographer, and looking to see if there are any tools for OSCommerce to automate the uploading and addition of numerous photos at one time (sometimes several hundred a week). Looks like this might not be the thing.
  2. erik_1099

    [contribution] Simple Template System (sts)

    I have been wondering this also...
  3. erik_1099

    [contribution] Simple Template System (sts)

    Any suggestions? More detailed info is posted a few posts back... Got all the right DEFINE's in your configure.php file? The template directory one is new to 2.x. - Brian As far as I can tell, the DEFINE statements are in all the right places. I installed the most recent version of STS. Here's what /catalog/includes/configure.php looks like: <?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.atrracewear.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.atrracewear.com'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/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/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/homepages/20/d104505977/htdocs/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'db102.perfora.net'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'dbo104883864'); define('DB_SERVER_PASSWORD', 'vUZNXm.B'); define('DB_DATABASE', 'db104883864'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' // STS: ADD: Define Simple Template System files define('STS_START_CAPTURE', DIR_WS_INCLUDES . 'sts_start_capture.php'); define('STS_STOP_CAPTURE', DIR_WS_INCLUDES . 'sts_stop_capture.php'); define('STS_RESTART_CAPTURE', DIR_WS_INCLUDES . 'sts_restart_capture.php'); define('STS_TEMPLATE_DIR', DIR_WS_INCLUDES . 'sts_templates/'); define('STS_DEFAULT_TEMPLATE', DIR_WS_INCLUDES . 'sts_template.html'); define('STS_DISPLAY_OUTPUT', DIR_WS_INCLUDES . 'sts_display_output.php'); define('STS_USER_CODE', DIR_WS_INCLUDES . 'sts_user_code.php'); define('STS_PRODUCT_INFO', DIR_WS_INCLUDES . 'sts_product_info.php'); // STS: EOADD ?> === Thanks for any help!
  4. erik_1099

    [contribution] Simple Template System (sts)

    Any suggestions? More detailed info is posted a few posts back...
  5. erik_1099

    [contribution] Simple Template System (sts)

    Price is zero as client has not given me the prices yet. What you are seeing is the page based upon the sts_template, using the $content variable in the main box. Here's what it looks like: http://www.atrracewear.com/catalog/include...s_template.html I want to alter $content, basically. The normal way is to go directly in the osCommerce version of product_info.php and rework the PHP there. I would rather not do that, for the reasons of I am not very good with PHP and that would break upward migration of osCommerce. My understanding is that in using STS, one can create a product_info.php.html file and place it in catalog/includes/sts_templates, through which one can alter the output of the $content variable (apparently STS takes the output of product_info.php and reformats it). My problem is that either STS or osCommerce are not seeing my product_info.php.html file. Whether I use the sample as provided with STS or my own, neither is being used. If you look at http://www.atrracewear.com/catalog/include...t_info.php.html, you'll see the default template I am trying to implement. My desired template is at: http://www.atrracewear.com/catalog/include...fo.php-atr.html (obviously it needs some tweaking, but I want to get it running first!) I think I simply have some sort of basic configuration error going on, or something is in the wrong place, wrong permissions, etc.
  6. erik_1099

    [contribution] Simple Template System (sts)

    Hello. First of all, thanks for designing this system. I am enjoying using it. However I have hit a hurdle. It seems that the product_info.php templates are not being "seen" by the system. I am not sure if the problem resides in my STS configuration, or my osCommerce configuration. I am only using the easypopulate and STS contributions to date, and only added easypopulate today, whereas I have been having the product_info problem since day 1. I started with a clean osCommerce install and then added in STS. Built a sts_template which is working swell. However, I cannot get product_info.php.html-sample file to work nor a modified file of my own. I have renamed the file I want to use to "product_info.php.html" and it resides in /catalog/includes/sts_templates. Any suggestions on things to check? Even stupid things, although I have checked my spelling, etc. The site can be seen at www.atrracewear.com/catalog and what you will see is using the sts_template.html only. I want to further tweak the product display (for example move the price location). I know some of this can be done in the main php but that defeats the point of sts, eh? Thanks in advance for any suggestions or responses.