The website consists of the following 8 databases:
1. Texts 2. Response Receivers 3. Users 4. Courses and Assignments 5. Messages 6. Files 7. Statistics 8. Backup
The databases can be reached by clicking on the button
The first of the databases is called
Texts and contains the main ingredients of the website. To access this database you first need to click on the button
DB and then on the link
Texts. Some texts are system texts that must have the correct structure for website to function properly. Other texts contain the content that is displayed for the users. The parameter
page in the URL selects the text to be displayed. So if we send the browser to
https://yourwebsite.com/index.cgi?page=planets, the user will see the text with the name
planetsin the database
After clicking on the button
Edit, the administrator can see the html source code of the text.
Feel free to edit this source code and observe the changes that result from your edits.
starsin the database
The easiest way to create a new document is to start from the old one and make a clone.
planets(one way to do that is to point your browes to
DO NOT EDIT THIS LINE_nc***_modifyText_/nc***_We will now disobey the suggestion "Do not edit this line". We will edit it and change the word
modifyTextinto the word
DO NOT EDIT THIS LINE Text name:_nc***_planets_/nc***_by changing the word
planetsinto the word
https://yourwebsite.com/index.cgi?page=starsin your browser URL field.
Go to database
Texts and open the document called
mainTextHeader. You will see a weird scene: the header will be placed in the body of the website. This means that the header is placed in the main display window. As a consequence, it is now subject to the button
edit. You should click on the button
edit. Then you need to find the HTML code that corresponds to the link to the document
Planets. This is how it looks:
<li class="nav-item"> <a class="nav-link" href="index.cgi?page=planets">Planets</a> </li>You can copy these tree lines and paste them immediately after their original occurrence. In the second copy you should make the following two changes:
Remark: Once you click on
Submit the change will not be visible immediately. The header will refresh the next time you click on any of the links. This "lag" will always happen when header or footer is edited. The submission to the database occurs only after website header is generated so you will see the old header for the one last time before the changes take effect.