osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Mod Guide Capter 1

This is a discussion on Mod Guide Capter 1 within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; The way osCommerce is constructed looks a bit complicated at first, but once you learn its conventions, you can efficiently ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 10-10-2003, 09:16 AM
Lurker
 
Join Date: Oct 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jobjonah
Default Mod Guide Capter 1

Quote:
The way osCommerce is constructed looks a bit complicated at first, but once you learn its conventions, you can efficiently modify your cart quite extensively.

First, if you look at default.php in a text editor, you will see that the code is divided into sections. These sections are defined like this:

<!-- header //-->
<?php require(DIR_WS_INCLUDES . 'header.php'); ?>
<!-- header_eof //-->

The code

<!—sometext//-->

defines the start of a specific section, and the code

<!—sometext_eof//-->

defines the end of that section. This is important for those of us that do not read php or html code very well.
I can't find default.php. It might be a version problem since all I find is index.php, and I have the latest version and it seems to be a good install. I can't find any file where I can view php and html in a text editor at the same time.
http://www.soap.whitelakeworld.com/catalog
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 10-10-2003, 03:56 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,077
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

Not all the updates have been finished on the guide, as of MS2 there is no longer a default.php, it has been renamed to index.php.

All the php files have html embedded in them. You edit them in a text editor. Open any of the files, like index.php, and you will see a mixture of php and html. This assumes you are using MS2 and not MS2-MAX.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 10-10-2003, 03:59 PM
Lurker
 
Join Date: Oct 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jobjonah
Default

I am using MS2-MAX and that must be the source of my confusion.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -8. The time now is 03:59 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax