Dan_ Posted November 11, 2009 Posted November 11, 2009 Hopefully someone can help me here, I have been given a site (hosted locally) which has been made with numerous templates etc and looks nothing like a typical osCommerce install. Trying to work my way thought it I have lost the ability to find where exactly the main pages are stored (or I’m just lost) Currently index.php pulls it's files from C:\XAMPP\htdocs\templates\Original\mainpage.php. In this same directory are the header, footer, stylesheet and pages as well as the image folder. Now in the page mainpage.php is calls up product pages as per the below, if(isset($_GET['cPath'])) { switch($_GET['cPath']) { case 1: $file = 'new-product-item.php'; break; case 2: now for the life of me I can not find where "new-product-item.php is stored anywhere on the server. any assistance with this is greatly appreciated.
Guest Posted November 11, 2009 Posted November 11, 2009 Dan, You will have to contact the template designer for support. Templates USUALLY have some pretty bad code in that they have changed so much it makes it difficult to guess where everything should be. Chris
Dan_ Posted November 11, 2009 Author Posted November 11, 2009 Hi Chris, Many thanks for the prompt response, Maybe I should have been clearer in my above post. What I can gather from this website is that it was set up with a template and some add-ons in early 2003, then modified in 04, 05 (redesigned with a new template), 06 (new modules). 07 was when the current owner has had there site "created" to date. It's been at least 7 or 8 different stores in its life (a case of skin and sell I think) Those that were kind enough to comment in their code their details have all had their domains lapse and the last 'developer' is no more. Hence it has landed up in my hands. So with no support to go back to I was hoping someone could help me here to figure it out, it just needs a few minor changes to last it until a totally new site is up and running (fresh of course) If you have any suggestions it would be great, even if you know of any application that can search within a folder full of .php fines that will scan the code (windows search doesn’t pick it up) and i can try to trace the links that way?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.