Log in

View Full Version : Site Track Back?



kwertyuk
09-04-2008, 02:03 AM
Hi,

I don't know what they are called, but I am trying to implement a feature on my website which displays the steps of the site you have been to to get to the current page.

For instance, if I was on the contact numbers page I would want the feature to show something like:

"home > contact > phone numbers".

I realise this may be confusing as I do not know what this is called but I hope you can understand what I am getting at.

Anyway I was wondering if there is a way to automate the implementation of this feature on pages to save me typing this out on each page and manually creating links to the relevant previous sections.

Any ideas would be great. Cheers.

Medyman
09-04-2008, 12:19 PM
What you're looking for is called "breadcrumbs". Here (http://www.evolt.org/article/Breadcrumbs_for_PHP_Lovers/17/4455/) is one PHP script that does it. Google will turn up many others.

codeexploiter
09-04-2008, 12:37 PM
http://www.mindpalette.com/tutorials/breadcrumbs/index.php - PHP
http://www.mindpalette.com/tutorials/breadcrumbs_JS/index.php - JavaScript