justuptime.com - monitor your servers & websites

Bread Crumbs

You are viewing this site as a guest. Join our community to get your questions answered and share knowledge. Active members may advertise and ask for a website critique.

She has: 72 posts

Joined: Sep 2001

What kind of script does one use for bread crumbs? I'm redesigning our corporate site from the ground up using SSI for common page elements. Is there anything special I need to know when setting up the file structure for use with bread crumbs? Any info is welcome.

Roo's picture
Developer

She has: 830 posts

Joined: Apr 1999

Just a guess and I could be totally wrong, but PHP?

Suzanne's picture

She has: 5,512 posts

Joined: Feb 2000

Are you using a database to serve the pages?

For the file structure, the more "human" you can be, the better.

e.g.
home -> services - > Page Title is better than
00 -> 001 -> file name

I've also done it where I wasn't able to do anything other than includes so there was a huge file with every single page in it -- if this page, print this breadcrumb. Very annoying and tedious.

She has: 72 posts

Joined: Sep 2001

No, I won't be using a db. Just static pages.

Renegade's picture
Moderator

He has: 2,943 posts

Joined: Oct 2002

It can be done with Javascript or with PHP

She has: 72 posts

Joined: Sep 2001

Thanks. I found the PHP version, but couldn't find the JS version. I'm having a tough time convincing our tech guys to go with PHP on our site.

Never mind, I just found the js version!

andy206uk's picture
DeveloperModerator

He has: 1,742 posts

Joined: Jul 2002

Why are your tech guys against PHP? if they know anything about web technologies they'll know that a serverside solution will always be more reliable than a client side solution:

a) will always work in ALL browsers
b) cannot be disabled by the user
c) more accessable (screen readers struggle with javascript)

Andyk

Music Rants News and Reviews | My Photoblog | Blog of a Web Designer
Give a man a fish and you feed him for a day. Teach him to use the Net and he won't bother you for weeks.

She has: 72 posts

Joined: Sep 2001

You're preaching that one to the choir. Manager doesn't like (read: understand) open source.

andy206uk's picture
DeveloperModerator

He has: 1,742 posts

Joined: Jul 2002

Well if he really wants to spend buckets of money use ASP instead. Any server-side technology will be better than client-side.

Andyk

Music Rants News and Reviews | My Photoblog | Blog of a Web Designer
Give a man a fish and you feed him for a day. Teach him to use the Net and he won't bother you for weeks.

She has: 72 posts

Joined: Sep 2001

They're wanting static pages and SSI and jsp in the secure areas.

andy206uk's picture
DeveloperModerator

He has: 1,742 posts

Joined: Jul 2002

Stupid people... you should try and explain to them that pulling acronyms out of a hat won't yield good results. They need a proper plan of action. Includes and breadcrumbs could all be handled from php. Theres no point using two different technologies when one will do the job better.

BTW... javascript and JSP(JavaServer Pages) are two different technologies. Which are they wanting to use?

Andyk

Music Rants News and Reviews | My Photoblog | Blog of a Web Designer
Give a man a fish and you feed him for a day. Teach him to use the Net and he won't bother you for weeks.

She has: 72 posts

Joined: Sep 2001

JSP in their secure areas for giving customers access to their records.