Okay, we've got our user table, let's make screens for the user to log in and log out. Download the mymarket3.tar.gz file and extract it into your web root directory. Note that this replaces the files from the first tutorial. IMPORTANT NOTE: If you have made modifications to the files from the first tutorial, please make a backup copy and store it somewhere else. The files in mymarket3.tar.gz will overwrite any changes you made to the files from the first tutorial. If you have made modifications to the files from the first tutorial, please make a backup copy and store it somewhere else. The files in will overwrite any changes you made to the files from the first tutorial.We do the same drill from the first and second tutorial. Download the mymarket3.tar.gz file and extract it into your web root directory. For example, if your web root is in /home/httpd/html type
Assuming that you've downloaded mymarket3.tar.gz into /tmp. Now, open up the file application.php and change the $CFG->wwwroot and $CFG->dirroot paths to match your server configuration. Directory Structure You should already be familiar with the contents of the mymarket directory, looking carefully, you will see a new directory called shopping.
The shopping directory contains all the scripts that have to do with displaying the product catalog, viewing product details, the shopping cart, and purchasing. That is where most of the new scripts reside. We will now go over the script changes.
blog comments powered by Disqus |