Wed Dec 3, 2003
We are online if image is green.
Today in History:|
1818: Illinois entered the Union as the 21st state.
Most often used to display a general welcome message or a splash screen upon entering a database section. You can edit the MainMenu text by editing the variable "mainMenu".
Once logged in you will see a link titled "Database Prefs" at the bottom of the page. The word database is replaced with your current active database.
Very similar to mainMenu. Mostly used to display a search form for the database. Edited the same way as mainMenu. The variable name is searchForm.
Used to display a list of all items in a database.
A little more advanced than mainMenu, View Inventory is made up of three variables.
The variable inventoryItemBegin is the beginning text, used mostly to display the columns in your database table. These columns can allow the visitor to change the sorting order of items and flip the list.
Closes the current database list. Mostly used to close the table and provide previous next page links if database total rows is greater than the itemsperpage variable.
InventoryItem Used to customize each row displayed in the database.
If using a traditional table layout. InventoryItem would occur every table row. For each item in the database, the inventoryItem variable will control how the information is displayed.
The variable itemsperpage controls the number of rows to display per page. This variable is auto-configured or can be overridden by the user. Numeric values only.
View Category is very similar to viewInventory with the exception of allowing for category displays. Sometimes a database is better viewed by a specific category field. Examples include an event type database where all the January items fall together. This allows for an extra variable to be placed at the lead row of each category grouping. This lead row is called "categoryTitle". The default category field is "category". This can be overridden with the variable "thiscategory". All of which can be changed in the Display Prefs for the database.
Categories also use the itemsperpage variable.
Used to browse a folder of content, such as a public FTP site. Or a constantly changing Directory tree on the server.
View Item is used exclusively for displaying an individual item in a database. The variable "id" is the four digit id for each row in the database. Typically, databases are set up starting with 1001. So calling viewItem id=1001 will display the first item in the database.
Prev Page / Next PageMath ID is an easy way to access the next and previous items in a database. It allows you to do things like lead a tour through a database with no exact starting point. A typical database on 5 items for example would start with ID 1001-1006. If the user was on 1005 and they clicked next, the next item displayed would be 1001 to complete the circle. There are several ways to invoke the Prev Page/Next Page ID. By far the easiest is to send the current ID and call an action of "next" or "prev".