afrosimon Posted June 16, 2010 Posted June 16, 2010 Hello! I'm currently working on an old osCommerce website. I'm not really sure of the version, I've read quite a few time, like here : http://www.clubosc.com/how-to-know-what-version-of-oscommerce-you-are-using.html , that it can be found in the application_top.php file, but it's not there, so I'm inclined to think it's an older version of osCommerce. The thing is, I'm not able to create a page with custom PHP code. I'm not exactly sure of the internal workings of osCommerce but any code found directly in an information page isn't executed. So I tried to find another way by copying the index.php, replacing the $sContentClass var with the name of the corresponding file, and I tried to imitate the behavior of the information.php file, in a way I still name and give value to all the variable used in the file, but with my custom content... But all of this wierd and probably sub-optimal code simply give me the home page. Plus, I guess there's a easier way to proceed?
Guest Posted June 16, 2010 Posted June 16, 2010 Simon, What are you trying to do with the custom page ? Knowing what the intended use is will help us determine the best course of action. Chris
afrosimon Posted June 16, 2010 Author Posted June 16, 2010 Thanks for the fast response! The page query a custom MySQL table I created, and list the content. Nothing too fancy, but nothing related to the kind of functionality osCommerce offer. On a website I developed some time ago, with Joomla!, for the same kind of page, I had used a "custom php page" module, is there an equivalent in osCommerce?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.