Welcome Guest, Not a member yet? Register   Sign In
Forum breadcrumb class - where to start?
#1

[eluser]TheFuzzy0ne[/eluser]
I'm trying to create a breadcrumb class/helper for my forum, and I'm not quite sure where to start. Creating a breadcrumb for any given forum seems simple enough, but it seems to quickly become complex when I try to factor in including threads, and posts, and search results and so on.

I've seen a lot of breadcrumb classes, but they all seem to rely on directory or URL structure. I'd appreciate it if anyone could make a suggestion about how I could make this work. A suggestion for method names would probably give me everything I need.

I'm also not sure if the model should pass back the HTML, or if the model should just pass back an array for me to use with a helper function that generates the HTML (which makes more sense to me).

Perhaps the breadcrumb class needs to be integrated into my site a bit more, so rather than calling several functions, the breadcrumb is built as the code progresses?

All comments and suggestions welcome.


Messages In This Thread
Forum breadcrumb class - where to start? - by El Forum - 04-12-2009, 09:20 AM
Forum breadcrumb class - where to start? - by El Forum - 04-12-2009, 10:10 AM
Forum breadcrumb class - where to start? - by El Forum - 04-12-2009, 11:14 AM
Forum breadcrumb class - where to start? - by El Forum - 04-12-2009, 07:48 PM
Forum breadcrumb class - where to start? - by El Forum - 04-12-2009, 08:49 PM
Forum breadcrumb class - where to start? - by El Forum - 04-13-2009, 07:10 AM
Forum breadcrumb class - where to start? - by El Forum - 04-29-2009, 08:05 PM
Forum breadcrumb class - where to start? - by El Forum - 04-30-2009, 06:00 AM



Theme © iAndrew 2016 - Forum software by © MyBB