I've been looking for something similar. See I pretty much design a "template" then call certain information such as content, title, and navigation.
Placed before <html> on index.php in root (this is my template file).
-
<?
-
$fullPath = '/home/traeonna.com/public_html/ayablue';
-
$dir = $_GET['dir'];
-
$page = $_GET['page'];
-
if(!isset($dir)) {
-
$dir = 'home';
-
$page = 'index';
-
}
-
?>
-
Here are my includes for content, title, and navigation.
-
<? include($fullPath . '/' . $dir . '/' . $page . '.php'); ?>
-
-
<? include($fullPath . '/' . $dir . '/' . $page . '_title.php'); ?>
-
-
<? include($fullPath . '/' . $dir . '/' . $dir . '_nav.php'); ?>
-
An example of how the URL looks...
http://ayablue.traeonna.com/index.php?dir=portfolio_amanda&page=fb_sa
I would like a breadcrumb as such...
Home > Amanda's Portfolio > Fruits Basket - Ayame Sohma
It seems that all the breadcrumb stuff I've found will not work with this current system. I'm sure there's a way around this, but I'm just not that well versed in PHP.