Help reg. Breadcrumbs
Posted: Fri Sep 12, 2008 2:14 am
I'm making an application where I've to display breadcrumbs for all pages. Those are not based on directory structure and some customization is required.
I'll give an example:
my 1st page shows list of administrators
Once you select an administrator
Now this page will contain list of users under that admin...and other links like change password, edit details.
Since change password/edit details are under this admin, if we visit these pages the breadcrumb will not change, but when we select a user (from the list), it changes to
I'm not sure if I'm able to convey the logic correctly.
I don't know I should do it using a database table or session. Database table might not be helpful because I need to store the full breadcrumb path for each page, along with the parameters (like Administrator Name will have adminId in the link).
I've ran of ideas and am planning to hardcode the breadcrum for each page...unless someone can drop in some idea.
Thnx.
I'll give an example:
my 1st page shows list of administrators
Code: Select all
Breadcrumb : HomeCode: Select all
Breadcrum : Home > Administrator NameSince change password/edit details are under this admin, if we visit these pages the breadcrumb will not change, but when we select a user (from the list), it changes to
Code: Select all
Breadcrumb : Home > Adminstrator Name > User NameI don't know I should do it using a database table or session. Database table might not be helpful because I need to store the full breadcrumb path for each page, along with the parameters (like Administrator Name will have adminId in the link).
I've ran of ideas and am planning to hardcode the breadcrum for each page...unless someone can drop in some idea.
Thnx.