![]() |
RMDatabase README File | ![]() | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CONTENTS | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
DISCLAIMER RMDatabase is not a commercial product and cannot be supported as such. I do try and help where I can, but sometimes it is just not possible. I will not be responsible for any data loss or damage that comes from usage of these scripts. By using them you agree to indemnify me from any liability that may arise from their use. I recommend routine backups your database (which is always a good practice anyway). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
WHAT'S NEW IN VERSION 4.1? RMdB 4.1 (MySQL) came about simply because I was doing more work with MySQL in my job and other areas that I decided to adapt RMdB to the popular back-end database as well. Since MySQL is open-source database (meaning, its free), it is gaining more popularity and is frequently offered as part of a hosting plan with most (good) ISPs. The main new feature of RMdB 4.1 is, of course, this change in structure. There are a few other enhancements that are listed below:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
DATABASE SETUP AND ACCESS In order to run RMdB 4.1, you need to have access to a MySQL database on your hosting provider's account. If you host your site on mission.net this is already available. To get a database setup on mission.net, contact support through http://webmaster.mission.net and indicate that you need a MySQL database for RMdB 4.1. Also indicate whether you wish to convert your existing RMdB 4.0 database already on the mission.net server to RMdB 4.1. NOTE TO ADVANCE USERS ON MISSION.NET SERVER. If you wish to use the phpMyAdmin tool with your database, obtain your database user and password from LDSMN support and access from the following URL: http://www.mission.net/mydb. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
INSTALLATION NOTE FOR MISSION.NET USERS - This process is done for you when you request database setup. Skip Installation section unless you are installing the scripts on a server other than mission.net To install RMdB 4.1, follow the steps below.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
PATH MAP This path represents the structure for mission.net users. If you are installing version 4.1 on your own server or ISPs server, you will modify the install script to identify your html root directory and cgi-bin directory, but everything else should be the same.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
CUSTOMIZATION THROUGH STYLESHEETS AND TEMPLATES RMdB 4.1 continues to use the same templates that were introduced in version 4.0 but adds more template files and tags. This is an advanced level of customization offered. You must be cautious when editing these files. If you don't understand HTML and CSS very well then I would suggest staying with the default files provided. Any any case, I recommend creating a backup of your rmdb4/src directory (created at install time) before you begin to make any changes. STYLESHEETS (CSS) Upon installation, the rmdb41.css file is copied into the /css directory off the HTML directory that was defined for your account. This will be the only file in this directory (unless you had this directory previously). You may edit this file, add more classes, but be sure and not delete the classes that are there. The scripts utilize these classes when creating modules both for administrator options as well as regular user options. Again, you may modify the parameters on existing classes, just don't change the class names. Another good tip - be sure and save a copy of the original css file - just in case. TEMPLATES RMdB 4.1 uses 11 template files for all of its functionality. Each template file is nothing more than a regular HTML file with special tags that the perl scripts run "search and replace" functionality on. In some cases, these tags also pass parameters to the perl engine that perform extra tasks or retrieve specific information from the database. These tags will be explained in detail below. The 11 template files that are used are explained here. Each filename is fixed (you cannot define your own templates) and is used for a specific function:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
TEMPLATE TAGS All RMdB template tags use the following format (within the quotation marks):
where <tag_name> is the name of the tag and <param> is the parameter string that is passed. NOTE: some tags do not require parameters. Not all tags are available on every template. A list of the tags available as well as the templates they are available on and the function that they perform is explained in the table below.
For the best example of how to use tags, study the default templates that come with the installation. Make sure to save them for future reference as needed. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
A WORD ABOUT COPYRIGHT AND LICENSE Now finally, please be respectful of my copyright notice. I know to some, it may be considered a nuisance and I didn't require it on earlier versions - in fact, I even allowed the admin to customize the copyright line as they saw fit. I appreciated those that kept me (Moonlight Design) listed even when they were not required to do so. The "footer" class within the stylesheet controls the display of the copyright. You can adjust it how you see fit but I do ask that it be large enough to be readable. This version of RMdB is freely available to affiliated LDS Mission Network sites only. It is not available to download freely, without contacting me first. I will send the tar file to those who request it, but I ask that it not be distributed without my permission. I don't have any problems with people tweaking the code for use on their mission sites (although with the use of templates and stylesheets, this should be minimized), but selling, distributing, or profiting from the code is strictly prohibited. If you wish to use RMdB for other purposes outside of the above stipulations, please contact me. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
CONTACT INFORMATION Eric Huber (dba Moonlight Design) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||