osCmax v2.5 User Manual
Results 1 to 3 of 3

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 ...

      
  1. #1
    Lurker
    Join Date
    Oct 2003
    Posts
    2
    Rep Power
    0


    Default Mod Guide Capter 1

    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

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    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 Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    Lurker
    Join Date
    Oct 2003
    Posts
    2
    Rep Power
    0


    Default

    I am using MS2-MAX and that must be the source of my confusion.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •