Jump to content

How to create breadcrumbs


AdRock

Recommended Posts

With my site I have the index page as a template with the main structure of the site and where content changes I use a switch statement

 

<div id="content" class="style3">
    <?php
switch ($_GET['page'])
    	{

case "archive_articles":
include('archive_articles.php');
break;

 

What i want to know is can i use breadcrumbs with this?

 

I have used mod rewrite for my image gallery so it look like the gallery is in another directory where in fact it's all in the same directory in the same switch statement

 

I would like something like

 

Home > Contact Us

 

and for the image gallery

 

Home > Gallery > Events

 

Is there a way using php that I can get the page name and create the breadcrumbs depending on what the page name is?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.