Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

supertiti

Members
  • Content count

    12
  • Joined

  • Last visited

Profile Information

  • Real Name
    Jean Pierre
  1. supertiti

    [Contribution] STS v4

    Many thanks Bill for your brilliant support, it works perfectly now !! Cheers Terence
  2. supertiti

    [Contribution] STS v4

    Hi Bill, I'm having troubles making a placeholder for a new file i just created for my oscommerce site. Here is the error output : Warning: require(/skydog/catalog/splitres.php) [function.require]: failed to open stream: No such file or directory in /Users/terencepires/Sites/htdocs/skydog/catalog/includes/modules/sts_inc/sts_user_code.php on line 34 Fatal error: require() [function.require]: Failed opening required '/skydog/catalog/splitres.php' (include_path='.:/Applications/MAMP/bin/php5/lib/php') in /Users/terencepires/Sites/htdocs/skydog/catalog/includes/modules/sts_inc/sts_user_code.php on line 34 And here is the placeholder's code : $sts->start_capture(); require('/skydog/catalog/splitres.php'); $sts->stop_capture('$artists', 'box'); the path to the file is good, I just don't understand what could be wrong ! Can you help me ?
  3. supertiti

    [contribution] Simple Template System (sts)

    Hi there, i'm trying to figure out how to use the get_javascript function in STS, in order to add google analytics support, i might create a contribution to that too, simplifying the process. The question is : where to put the code for it to show in the "application2header" part of the template's source ? Cheers ! Terence
  4. supertiti

    [contribution] Simple Template System (sts)

    Thanks i'll try that !
  5. supertiti

    [contribution] Simple Template System (sts)

    Thanks, for your help, it is appreciated I could get around the first error message but now i get this one : Fatal error: Cannot redeclare do_magic_quotes_gpc() (previously declared in /Applications/MAMP/htdocs/skydog/catalog/includes/functions/compatibility.php:18) in /Applications/MAMP/htdocs/skydog/catalog/includes/functions/compatibility.php on line 30 So i looked for a second declaration of do_magic_quotes_gpc() but only found one in the whole site...s
  6. supertiti

    [contribution] Simple Template System (sts)

    OK, now when i change $sts->template['story']=require('catalog/story.php'); to $sts->template['story']=require('story.php'); i get this : Fatal error: Cannot redeclare do_magic_quotes_gpc() (previously declared in /Applications/MAMP/htdocs/skydog/catalog/includes/functions/compatibility.php:18) in /Applications/MAMP/htdocs/skydog/catalog/includes/functions/compatibility.php on line 30 But i didn't see any second declaration of that function... Help !
  7. supertiti

    [contribution] Simple Template System (sts)

    Hi eveyone, i'm having a slight problem after creating a STS placeholder : when opening the page where the placeholder is called, i have the following errors : Warning: require(skydog/catalog/story.php) [function.require]: failed to open stream: No such file or directory in /Applications/MAMP/htdocs/skydog/catalog/includes/modules/sts_inc/sts_user_code.php on line 55 Fatal error: require() [function.require]: Failed opening required 'skydog/catalog/story.php' (include_path='.:/Applications/MAMP/bin/php5/lib/php') in /Applications/MAMP/htdocs/skydog/catalog/includes/modules/sts_inc/sts_user_code.php on line 55 The sts_user_code file has the following code for this placeholder : $sts->template['story']=require('catalog/story.php'); and the file is placed in the 'catalog' folder any idea ?
  8. Hi there, I would like to add an image navigation to the $contents variable (i'm using STS 4.8). The first page of my website would be this big image : - appearing in the middle of the screen - containing links to the site's categories - using the mouseover function for further design - comprised in a table for other elements to appear next to it I created the code but i can't find where to put it, if someone knows, his/her help would be greatly appreciated ! Cheers to all Terence
  9. Hi there ! This is my first post here so i'd like to say hello to everyone ! Obviously i have a problem i'd like a (or more) good souls to help me with : How do i change the look of the manufacturers box to turn it into a multi-page list ? I would like to have all the manufacturers visible directly from the homepage, and set a maximum number of manufacturers per page... Anyone knows how to do it ? Cheers Terence
×