Final Projects 2018-19

2018-19 final presentations
Preparing web-based project presentations

To help with a smooth transition to your presentation, please place whatever files you are planning to use into a subdirectory of your home directory called "public_html". Make sure it is readable by others. Here are the necessary commands:

    cd
    mkdir public_html
    chmod 755 public_html
    chmod 711 ./

Any file placed in this directory becomes instantly visible from the web. If your ID is aa13bb, then the web address is "https://www.physics.brocku.ca/~aa13bb/". Please, check that it has worked for you.

You may use LibreOffice presentations or PDF files. Plain text files (like your program listings) should also render just fine. If you are comfortable writing basic html, you can also add the file called "index.php" to your public_html directory. It is to contain the following php code at the beginning and at the end, with your text in the middle:

<?php $basedir = 'https://www.physics.brocku.ca'; include ('HEADER.php'); ?>

<div class="title">TITLE</div>
<div class="instructor">By FIRST LAST</div>

<div class="heading">Introduction</div>

...
your text goes here
...

<?php include ('include/footer.php'); ?>

You may optionally divide your presentation into several sections, say introduction.php, hardware.php, software.php, results.php, and to make use of a navigation panel on the left, a TOC.php (for Table-Of-Contents). Your main index.php file remains the same, but the TOC.php (notice the capitalization) in the same directory should contain the following (appropriately changed if your section files have different names):

<td class="nav">
<table>
	<tr>
		<td class="navbig">
			<a href="/Courses/2P32/index.php"><b>PHYS 2P32</b></a>
		</td>
	</tr>
	<tr>
		<td> </td>
	</tr>
	<tr>
		<td class="navitem"><a href="index.php"><b>TITLE</b></a></td>
	</tr>
	<tr>
		<td class="navitem"><a href="introduction.php"><b>Introduction</b></a></td>
	</tr>
	<tr>
		<td class="navitem"><a href="hardware.php/"><b>Hardware</b></a></td>
	</tr>
	<tr>
		<td class="navitem"><a href="software.php"><b>Software</b></a></td>
	</tr>
	<tr>
		<td class="navitem"><a href="results.php"><b>Results</b></a></td>
	</tr>
</table>
<p>
</td>

If you decide to use your own TOC.php, it must contain at least the following two lines
<td class="nav">
</td>
or else the formatting will be all screwed up.

Finally, do not forget to make the files you have placed into public_html readable:

    cd
    chmod 644 public_html/*