Hi
I am looking at creating a generic Breadcrumb module to use with Catalyst. The basic idea being that some controllers will 'reset' a breadcrumb path back to the start (for example when clicking on a main menu) and some controllers will append to the existing breadcrumb.

e.g.
Main menu item linking to /users will display a list of all users (reset breadcrumb)

Clicking on a link on that page to go to /user/123 will append the new URI to the breadcrumb, /user/123/edit appends again. etc.

I would then be able to create a BreadCrumb Role that could be used with some of my controllers to maintain a breadcrumb structure on the stash that could then be used in my templates?

ISTM that this is an ideal application of Roles? I would welcome comments if this is a sensible approach and I can research the details further myself.

Regards
Ian


_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to