Solved

OSCommerce - understanding the STS

Posted on 2011-02-22
4
330 Views
Last Modified: 2012-05-11
Hi Experts,

I am a php programmer and I am trying to tailor an OSCommerce system but I am struggling to get my head around it.

For example the file attached is for comparing two or more products.

When I remove all the html at the bottom, I am able to print to screen the details of the two products I have hardcoded in (the IDs are hard coded at the top of the file).

However, when I put back in the html at the bottom it uses the sts-template.html file but with no content being displayed.

When I try to echo any content in the html section of the compare.php file, nothing is displayed. The html displayed does not seem to use any html from the compare.php instead it all comes from sts-template.html

I don't know where this sts-template.html is called?

Any help would be appreciated.

Thanks,

compare.php
0
Comment
Question by:bigMlittleC
  • 2
  • 2
4 Comments
 
LVL 46

Accepted Solution

by:
tbsgadi earned 500 total points
ID: 34958561
0
 

Author Comment

by:bigMlittleC
ID: 34958970
No I hadn't. Thanks. I will take a look and get back to you.
0
 

Author Closing Comment

by:bigMlittleC
ID: 34959802
Thanks
0
 
LVL 46

Expert Comment

by:tbsgadi
ID: 34959973
Glad to help!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
PHP Installer 5 37
Cpanel file manager 8 41
Is there an elegant way to view sql statements written in PDO? 2 24
How to check if a session is disconnected in php 9 32
Often people are aiming at development of perfect Magento websites. Though, it is easier said than done. You know what’s much easier? To ruin everything. It can be done in seconds. Many of us experimented with design, tried to change some values dir…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question