Website Directory Navigation
Content Management Systems (this link gives general CMS info but also specific info on Article CMS which you may ignore) make it easier to manage content if there are a lot of pages on a website or app. They often rely on MySQL tables to store their data. Then when pages are needed for displaying in a browser, Content Management Systems (CMS) can simply read the MySQL table where the data is stored and generate web page content on the fly. Our favorite language for Content Management Systems development is PHP, even though ASP and other server side languages can do the job too.
The following code will need to be saved as nav.html to support navigation in our Website Directory CMS system.
All we did for navigation is add a PHP include (to all Website Directory Content Management System application files) that loaded an HTML file with the needed navigational links:
<?php include("nav.html"); ?>
Here is the total content of the nav.html file (note the intentional absence of <HTML> tags such as HTML, HEAD, or BODY tags):
<div style='position:absolute;top:390px;left:2px;width:140px;background-color:#bbb;border:1px solid blue;padding:5px'>
<a HREF="cms-view-website-directory.php">View Directory</a><br>
<a HREF="cms-edit-website-directory-add-url.php">Add URL</a><br>
<a HREF="cms-edit-website-directory-add-category.php">Add Category</a><br>
<a HREF="cms-edit-website-directory-delete-url.php">Delete URL</a><br>
<a HREF="cms-edit-website-directory-delete-category.php">Delete Category</a><br>
<a HREF="cms-write-website-directory.php">Write Directory</a><br>
<a HREF="cms-view-website-directory-tables-order-by-category.php">Order by Category</a><br>
<a HREF="cms-view-website-directory-tables-order-by-url.php">Order by URL</a><br>
<a HREF="http://css-resources.com">CSS-Resources</a>
</div>
So each page of the app gets this:
Add URL
Add Category
Delete URL
Delete Category
Write Directory
Order by Category
Order by URL
CSS-Resources