Good morning, I am informing you that starting from today we will have a new moderator in our forum: Terenzio.
Terenzio was kind enough to add a link on his website that redirects to our forum in the "Classical Music" section, therefore he will be the moderator of this area along with Luca Cavaliere.
Terenzio, wouldn't it have been better for you to write the pages with a php extension and use menu inclusion?
This way, you would have one menu file that is included in every page, and if you need to change something in the menu, you just modify the menu file directly.
Ex.
index.php -> somewhere it will have its menu. Let's say for example:
<div id="menu"> <ul> <li> <a href="link to page">Home Page</a> </li> <li> <a href="link to page">About Us</a> </li> <li> <a href="link to page">The Orchestra</a> </li> ... </ul> </div>
You take the menu and put it inside a php file, for example: menu.php
Then inside the pages, instead of the menu block, you insert the function that calls that menu php file, so for example in index.php:
<?php include('php/includes/menu.php'); ?>
By doing this, every time you modify something inside menu.php, the change takes effect on all the pages in which it has been included.
My site was born and grew in HTML 4. In the meantime, XHTML and then HTML5 have been released, but I consider the site as a framework in which to insert my music-related texts and I am not very interested in technical aspects, or at least only as much as I need.
Besides, the site works and everything is validated by the W3C.
I know the <include> tag for which PHP is not necessary but it is sufficient to switch to HTML5, but I would still have to redo all the pages.
In my case, it is much more convenient and simple to use the "find and replace in files" that I found in HTML-Kit, with which I can modify all the pages in a short time.
So far, I have inserted the forum into about a third of the site, but in a couple of days everything will be in order.