Ok so here is the actual php code in my site in the <body> tag:
<body>
<div id="container">
<?php
include 'modules/header.php';
include 'modules/newsfeed.php';
include 'modules/navigation.php';
include 'modules/content.php';
include 'modules/footer.php';
?>
</div>
</body>
and the nav.php specifically:
<div id="menu1">
<img src="images/browseBar.png" />
<ul>
<li><a href="index.php" title="">OSWM Home</a></li>
<!--<li><a href="events.php" title="">Events</a></li>-->
<li><a href="news.php" title="">News</a></li>
<li><a href="projects.php" title="">Projects</a></li>
<li><a href="membership.php" title="">Membership</a></li>
<li><a href="bylaws.php" title="">Bylaws</a></li>
<li><a href="portfolios.php" title="">Portfolios</a></li>
<li><a href="http://studentorg.ecpi.edu/oswm/Garden/" title="" target="_blank">The Garden</a></li>
</ul>
</div>
So what you are saying is:
instead of this:
<a href="index.php" title="">OSWM Home</a>
do this:
<a href="modules/indexContent.php" title="">OSWM Home</a>
and in the php code add this:
<body>
<div id="container">
<?php
require_once($_SERVER['DOCUMENT_ROOT'] . '/scripts/' . $indexContent . '.php');
include 'modules/header.php';
include 'modules/newsfeed.php';
include 'modules/navigation.php';
include 'modules/content.php';
include 'modules/footer.php';
?>
</div>
Now would I have to add a line like that for each link?