Bread Crumbs
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 posted this at 19:45 — 15th June 2004.
She has: 840 posts
Joined: Apr 1999
Just a guess and I could be totally wrong, but PHP?
Suzanne posted this at 19:48 — 15th June 2004.
She has: 5,507 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.
Dami posted this at 19:54 — 15th June 2004.
She has: 88 posts
Joined: Sep 2001
No, I won't be using a db. Just static pages.
Renegade posted this at 19:59 — 15th June 2004.
He has: 3,022 posts
Joined: Oct 2002
It can be done with Javascript or with PHP
Dami posted this at 20:42 — 15th June 2004.
She has: 88 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 posted this at 23:07 — 15th June 2004.
He has: 1,758 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)
Andy
Dami posted this at 23:22 — 15th June 2004.
She has: 88 posts
Joined: Sep 2001
You're preaching that one to the choir. Manager doesn't like (read: understand) open source.
andy206uk posted this at 10:09 — 16th June 2004.
He has: 1,758 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.
Dami posted this at 13:42 — 16th June 2004.
She has: 88 posts
Joined: Sep 2001
They're wanting static pages and SSI and jsp in the secure areas.
andy206uk posted this at 13:50 — 16th June 2004.
He has: 1,758 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?
Andy
Dami posted this at 21:51 — 16th June 2004.
She has: 88 posts
Joined: Sep 2001
JSP in their secure areas for giving customers access to their records.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.