2.1 Databases
Databases are used for storing the pages that are created in Kiriwrite. Before pages can be stored in a database, a database has to be created.
The default view when you run the Kiriwrite script is to show the list of databases. If there are no databases available, then a message appears saying that there are no databases than can be used.
2.1.1 Add a database
To add a database, from the View Databases sub-menu click on the 'Add Database' link, a form then appears allowing to enter the information about the new database.
Settings |
Description |
Database Name |
Specifies the database name of the new Kiriwrite database. |
Database Description |
Specifies the description of the new Kiriwrite database. |
Database Categories |
Specifies the categories the database should belong to. |
Database Notes |
The notes that gives information about the database. |
Database Filename |
Specifies the database filename to use. If nothing is entered for the filename than an attempt to automatically generate a filename will be done. |
To add the database with the settings given, click on the 'Add Database' button and a confirmation message should then appear saying that the database has been added and offering a link back to the list of databases. To clear the settings, click on the 'Clear values' button.
2.2 Edit a database
To edit a database, click on the 'Edit' link opposite the name and description of the database you want to edit. A form then appears similar to the form for adding a database.
Settings |
Description |
Database Name |
Specifies the new database name of the Kiriwrite database. |
Database Description |
Specifies the new description of the Kiriwrite database. |
Database Categories |
Specifies the new categories the database should belong to. |
Database Notes |
The notes that gives information about the database. |
Database Filename |
Specifies the database filename to use. |
To edit a database with the new settings given click on the 'Edit Database' button and a confirmation message should appear saying that the database has been edited and offering a link back to the database list. Clicking on the 'Restore current settings' button will undo any changes and revert to the currently used settings.
2.3 Delete a database
To delete a database, click on the 'Delete' link opposite. A message then appears asking if the selected database should be deleted. Clicking on the 'Yes, delete the database' button will delete the database and display a confirmation message saying that the selected database has been deleted offering a link to return to the database list. Clicking on 'No, return to the database list.' link will make it return to the database list.
Warning
When a database is deleted, the pages in the database are deleted as well.