[Sigia-l] Bread crumb navigation path

karl fast karl.fast at pobox.com
Mon Jun 10 22:20:48 EDT 2002


> Can someone on the list give me some information on how those bread
> crumb paths are created. Of course I know that I could put it in
> statically on every page on the site - but I want to do it
> dynamically. For exampel, say that I want to show the three last
> links (clickable) and the current node/possition (not clickable).
> Can this be done with JavaScript or do I have to use some kind of
> server programming like PHP or ASP?


Ziya is right: it does depend.

Breadcrumbs are usually generated programatically on the server
side. That is, using SSI or PHP or ASP or whatever tool you are
using to dynamically generate your site. 

If you don't have the option of dynamically generating content on
the server side, you have three alternatives:

 1. Generate them on the client side using Javascript. This is
    described in the article Ziya mentioned.

    http://www.evolt.org/article/Breadcrumbs_in_Javascript/17/15480/    

 2. If you can't generate your content dynamically on the server
    (using ASP or PHP or some other tool), there are tools which
    will dynamically generate a series of static pages that you can
    then upload to the server. There are lots of these templating
    systems around, most of them free, but with a learning curve.

    One of the nicest systems that works on this principle is
    CityDesk. Windows only. A free version is available that works
    for up to 50 pages. http://www.fogcreek.com/

 3. Manually add the breadcrumbs to every page. Not recommended
    unless you have a small site, and if it's small then you
    probably don't need breadcrumbs!


--karl
    



More information about the Sigia-l mailing list