Copy the code from projects module
Reply - John Rebbeck (Vantera) - 12/28/2011 10:17:13 PM - Vote: [+] 0 [-]
The projections in the projects module have breadcrumb trails so that code can be copied for most other breadcrumb trails. For example the Project-Index.ascx projection contains the trail to be used for indexes such as Goal-Index.ascx
Example trail code for index
Reply - John Rebbeck (Vantera) - 12/28/2011 10:28:12 PM - Vote: [+] 0 [-]
This code:
<div class="Trail">
<a href='<%= Request.ApplicationPath %>'>
<%= Language.Home %>
</a> >
<a href='<%= new UrlCreator().CreateUrl("Index", "Project") %>'>
<%= Language.Projects %>
</a>
</div>
was taken from this page:
http://code.google.com/p/workhub2/source/browse/trunk/Src/App/Modules/Projects/Web/Projections/Project-Index.ascx#55
Projections use different approaches
Reply - John Rebbeck (Vantera) - 12/28/2011 10:22:48 PM - Vote: [+] 0 [-]
Some of the projections in the planning module don't use the controllers, contain more code, and are generally all in a single projection (such as Actor-Index-Create-Edit-Delete-View) while some of the projections have been updated to use the controllers, contain less code, and are better organised (such as Goal-Index.ascx, Goal-Create-Edit.ascx, Goal-View.ascx, etc.).
This needs to be considered when looking for the location to insert the breadcrumb trails