Jump to content

innovations

Members
  • Content count

    95
  • Joined

  • Last visited

Posts posted by innovations


  1. About placing infoboxes on my main page,

     

    I got this contribution and tried it out but is not working exactly right:

    http://www.oscommerce.com/community/contri...ons,1075/page,3

     

    If you think you could help, here is what it is supposed to look like:

    http://www.propheticministries.net/Demo.htm

     

    and here is what it looks like with the contrib:

    http://www.propheticministries.net/Demo.php

     

    Thanks to whoever figures it out and let's me know!


  2. Actually Frank, what I have is a main site and the oscommerce catalog is only one part of the site ( in other words my file directory for the shopping cart is something like: public_html/mainsite/catalog).

     

    What I would like to do is use some of those variables, or at somehow get those infoboxes on the homepage of my mainsite. I am not looking for any particular order, I just want to find out how I can have them on it.

     

    Thanks, and I hope that clears it up a bit (if not, visit my site an get a feel for what I am talking about: http://www.propheticministries.net)


  3. Brian, or somebody with the know how, can you please tell me how I might use the following variables on my homepage?

     

    $cartcontents: The text version of the "Cart Contents" function.

    $whatsnewbox: The What's New box

    $searchbox: The Search box

    $cartbox: The Shopping Cart box

    $orderhistorybox: The Order History box (blank if not used on a page, ie: use not logged in)

    $bestsellersbox: The Best Sellers box

    $specialfriendbox:

    $reviewsbox: The Reviews box

    [code]

     

    I know someone has had to of done this by now, so I hope that you might be able to explain to me how it is done, Thanks.

    *BUMP*


  4. Brian, or somebody with the know how, can you please tell me how I might use the following variables on my homepage?

     

    $cartcontents: The text version of the "Cart Contents" function.

    $whatsnewbox: The What's New box

    $searchbox: The Search box

    $cartbox: The Shopping Cart box

    $orderhistorybox: The Order History box (blank if not used on a page, ie: use not logged in)

    $bestsellersbox: The Best Sellers box

    $specialfriendbox:

    $reviewsbox: The Reviews box

    [code]

     

    I know someone has had to of done this by now, so I hope that you might be able to explain to me how it is done, Thanks.


  5. It looks like you do not have your DIR_WS_BOXES variable or defined at all.

     

    The error references Warning: main(DIR_WS_BOXESwhats_new.php) the fact that it has DIR_WS_BOXES in the filename indicates that you do not have it defined properly (or at all) in configure.php.

    Thanks Brian, I am glad that you are still supporting your contribution. I emplimented your suggestion to add a DIR_WS_BOXES variable to the configure.php file, and it worked as promised. The weird thing is, if I needed that variable defined (which I did), why was it not in the original configure file when I downloaded it?

     

     

    Thanks a lot


  6. Jack_mcs, I wish I could help you but I am having my own problems with the STS v1.8.

     

     

    I have dropped my database and deleted my osc files. I re-created my database and installed a fresh version of osc MS2.2. After installing the STS contrib I get this error:

     

     

    Warning: main(DIR_WS_BOXESwhats_new.php): failed to open stream: No such file or directory in /home/proph102/public_html/catalog/includes/column_left.php on line 39

     

    Fatal error: main(): Failed opening required 'DIR_WS_BOXESwhats_new.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/proph102/public_html/catalog/includes/column_left.php on line 39

     

    Can anyone help please, VERY URGENT--THIS IS A LIVE SHOP!


  7. I love this template system, and I have it working on one install.

     

    Today I tried to use it on another install of osc and I am getting this message when I attempt to access my catalog via http://www.propheticminstries.net/catalog/

     

    Warning: main(DIR_WS_TEMPLATESmain_page.tpl.php): failed to open stream: No such file or directory in /home/proph102/public_html/catalog/index.php on line 159

     

    Fatal error: main(): Failed opening required 'DIR_WS_TEMPLATESmain_page.tpl.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/proph102/public_html/catalog/index.php on line 159


  8. After reading more posts, I found that it may have to do with my includes/config file. Here is my file:

    // 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_WS_INCLUDES . 'sts_template.html');

    define('STS_DISPLAY_OUTPUT', DIR_WS_INCLUDES . 'sts_display_output.php');

    // STS: EOADD

     

    And this is in v 8, I have never had any previous version prior to this install.

    Thanks in advance for the help :D


  9. I am getting an error message when I try to access my site via the IE browser:

    Template file doesn't exist: [includes/sts_template.html]Can't open Template file: [sTS_DEFAULT_TEMPLATE]

     

    Can please tell me how to fix this little problem, the rest of the cart does not show at all, but if I type in the full path to the sts_template.html file I get the default tempate with blank table (except for the various strings that load each box).

×