Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.


  • Content count

  • Joined

  • Last visited

  • Days Won


Everything posted by bkellum

  1. bkellum

    Problem lightbox and CSS STS

    Can you provide a link to the "Additional Images Thumbnail Utility with Lightbox" contribution that you have installed? This is most likely the root of the problem so I would start there.
  2. Bob, I didn't see your post until now. It is better to post all STS related support questions in the proper STSv4 Support Forum (link is in the STS User Manual as well as in my signature below). Your problem is due to an installation error. Be sure to upload all of the files from the STS folder as well as all of the files from the "Files for RC2" folder. You can run a file comparison of the files in your live shop to the files from the "STS" folder and then the "Files for RC2" folder to see if you are missing any files or just happened to place some code in the wrong place. If after doing the above you still experience the missing modules, let me know and I will try to walk you through the installation. Good luck,
  3. bkellum

    [contribution] Simple Template System (sts)

    Take a look at the STSv4 Power Pack download site (a site dedicated to STS add-ons) and you will find a tutorial that I created on "How to Add a New Page using STS". The link is in the STS User Manual as well as my signature below.
  4. bkellum

    [contribution] Simple Template System (sts)

    First of all, you cannot create your links to point to the actual "template" name. You must create you links to the PHP script in which you are linking to (home page is index.php) as well as arrange it so the session ID is not lost. Here is an example: STS Link to a category: <a href="<?php echo tep_href_link('index.php', 'cPath=21&', 'NONSSL'); ?>">Category Name Here</a> STS Link to a product: <a href="<?php echo tep_href_link('product_info.php', 'products_id=53&', 'NONSSL'); ?>">Product Name Here</a> However, STSv4.6 has some new variables (tags) that you can use as your links to point to specific pages: $sts->template['url_index'] = tep_href_link(FILENAME_DEFAULT, '', 'NONSSL'); The tag above is already created for you in the includes/modules/sts_inc/sts_user_code.php file. The actual tag is $url_index$ and you would insert it into your template page as so: <a href="$url_index$">Home</a> It will automatically create a link in the browser that looks like this: http://yourdomain.com/index.php It keeps the session ID in place since it uses tep_href_link to build the link. Important Posts for the STS newbie: Post #3755: http://forums.oscomm...p;#entry1226986 Post #4326: http://forums.oscomm...p;#entry1303555 Post #4974: http://forums.oscomm...p;#entry1361366 Post #3772: http://forums.oscomm...p;#entry1227769 Post #3757: http://forums.oscomm...p;#entry1227006 Please review the above for insight on how the Simple Template System allows you to make templates for pages, categories, home page, products and infoboxes. Hope this was helpful,
  5. bkellum

    STS + Ultimate SEO URL's

    Gary, I have STSv4.6 and Ultimate SEO URL's (Oct 2, 2009 release) installed with no issues at all and nothing special to make them work together. Maybe there is something different in the latest version of Ultimate SEO URL's that is causing the problem?
  6. bkellum

    [contribution] Simple Template System (sts)

    Keep in mind, the code was and should remained commented out (or removed) if you don't need COMPATIBILITY WITH STS 2 AND 3. These older versions of STS cause your store to run a lot slower than it should and you should avoid the STS2 & STS3 tags that this code creates. STSv4 has it's own banner and footer tags that you should be using in place of the optional tags listed in the sts_user_code.php file.
  7. bkellum

    [Contribution] STS v4

    No, osCv3 is in the beta stage (should not be used in a live setting) but it comes with a template system (difficult to say the least).
  8. bkellum

    [contribution] Simple Template System (sts)

    You need to insert your adsense JavaScript into the sts_user_code.php file to make a $adsense$ tag that you would then place the tag into your template pages. Here is an example that I created for a client (xxxxx would be your custom identification code from Google)... <script type="text/javascript"><!-- google_ad_client = "pub-XXXXXXXXXXXXXXXXXXXX"; /* 120x600, created 3/4/09 */ google_ad_slot = "XXXXXXXXXXXXXX"; google_ad_width = 120; google_ad_height = 600; //--></script> <script type="text/javascript" src="[url="http://pagead2.googlesyndication.com/pagead/show_ads.js"]http://pagead2.googlesyndication.com/pagead/show_ads.js[/url]"> </script> <?php } $sts->stop_capture('adsense'); The code above created the $adsense$ tag. Note: I'm assuming alot here as you did not provide the exact contribution that you used.
  9. bkellum

    STS 4.6 Customizing the Home or index page

    Please visit the STSv4 Support Thread. Link is in the STS User Manual as well as in my signature below.
  10. bkellum

    STSv4 Using Flash

    Remember, if you are adding stop end characters to your tags, you must do it for the $tempplatedir$ as well. Please visit the STSv4 Support Thread. Link is in the STS User Manual as well as in my signature below.
  11. bkellum

    STS templae help

    Well, when you read what you should do and don't do it....it makes it difficult to provide you with free help if you won't help yourself first. Posting STS support requests all over just clutters the osCommerce Forums as well as what was mentioned above. I appreciate you reading the manual but it does point out where you should post your requests for support. The link is also in my signature below. Hope to see you there...
  12. bkellum

    Opening STS v4 in Dreamweaver

    You could open the live site in dreamweaver and you will see the CSS and other design parts but you continue to see the variables because that is how PHP design works. TIP: Open an extra browser window with the live site while editing the live site in dreamweaver. Once you save your edits, refresh your second browser window to see the changes.
  13. bkellum

    sts install files

    Please visit the STSv4 Support Thread. Link is in the STS User Manual as well as in my signature below.
  14. bkellum

    Install Question STS

    Why even ask?? The contribution comes with the file in question so all you have to do is a file comparison to see where the code should go.
  15. bkellum

    How to install new STS templates?

    Keep tinkering and you just might get it...or...read the STS User Manual and get it right the first time.
  16. bkellum

    [contribution] Simple Template System (sts)

    That code and that script have nothing to do with STS so it has to be something else that is causing the conflict. Look at the other edits the contribution is making to try to find the conflict.
  17. bkellum

    [contribution] Simple Template System (sts)

    Gotcha! Yeah, not knowing if STS was installed correctly in the first place could cause you some issues. I would suggest downloading the STS contribution (most likely v4.5.8 or earlier) and use a file and compare utility to do a quick scan of the contribution files and your source files to confirm the installation is correct. This would also be a good way of completely removing the contribution as well.
  18. bkellum

    [contribution] Simple Template System (sts)

    There's no way you can use a STS template without having STS installed first. Try upgrading to the latest STSv4.6 and the error message will go away.
  19. bkellum

    [contribution] Simple Template System (sts)

    Then that means your stock product_info.php file has been modified to make the changes that you see. STS only pulls what is already there unless you use the content template feature. It's as simple as that. This is not a STS issue. Sorry.
  20. bkellum

    [contribution] Simple Template System (sts)

    Did you ever have an older version of STS installed, say...older than STSv4.0? If so, you probably have some old outdated STS code in your configure.php files. STSv4.x is designed to easily turn it on and off in the admin and once off, your site will be just as a site without STS installed.
  21. bkellum

    [Contribution] STS v4

    To add to the above, I would suggest that you keep a browser window of your live site open separate from Dreamweaver and refresh it everytime you upload a new update to the site in order to view a true WYSIWYG. This is common place in PHP design work flow.
  22. bkellum

    [contribution] Simple Template System (sts)

    Here is a simple solution for you: Just to clarify... This will create a new STS tag called $headcart that will allow you to place shopping cart details in your header (or anywehre else you want it). Add the following in includes/modules/sts_inc/sts_user_code.php: $sts->start_capture(); $productno = $cart->count_contents(); $totalprice = $currencies->format($cart->show_total()); if ($productno > 1) { echo ENTRY_HCART_CONTAINS; echo " "; echo $productno; echo " "; echo ENTRY_HCART_ITEMS; echo " "; echo " "; echo ENTRY_HCART_PRICE; echo " "; echo $totalprice; } elseif ($productno == 0) { echo ENTRY_HCART_EMPTY; } else { echo ENTRY_HCART_CONTAINS; echo " "; echo $productno; echo " "; echo ENTRY_HCART_ITEM; echo " "; echo " "; echo ENTRY_HCART_PRICE; echo " "; echo $totalprice; } $sts->stop_capture ('headcart'); Now add the following in includes/languages/engish.php: // STS Show Cart In Header define('ENTRY_HCART_EMPTY', 'Your cart is empty'); define('ENTRY_HCART_CONTAINS', 'You have '); define('ENTRY_HCART_ITEM', '<a href="shopping_cart.php" class="trailText">item in your cart</a>'); define('ENTRY_HCART_ITEMS', '<a href="shopping_cart.php" class="trailText">items in your cart</a>'); define('ENTRY_HCART_PRICE', ''); Thats it! Now use $headcart anywhere you want in your STS template files. Enjoy,
  23. bkellum

    [contribution] Simple Template System (sts)

    Your comments do not make any sense as STS does not "take over" your site. You can easily turn STS off at anytime simply by setting the "Use Templates" to FALSE in the STS Default Module in the Admin. If you still want to use STS but no longer wish to take advantage of the Product Info Content template feature, then disable the STS Product Info module in the Admin. Also, make sure you do not have any product_info.php.html template files in your content template folder. Pretty easy.
  24. bkellum

    [contribution] Simple Template System (sts)

    That's because the author knows nothing about STS... Look at this post.
  25. bkellum

    [Contribution] STS v4

    Yep, George hit the nail on the head...