Current Project:   Index | Create
Task: Add breadcrumb trail to planning module projections

Each projection in the planning module needs breadcrumb trails like that in the projects module

Needed: [+] +1 [-] Complete: [+] 0 [-]

Task Details
Priority:Extreme
Difficulty:VeryLow
Status:Pending

Comments

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> &gt;
<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



TaskRoadmap (Tasks) Module: Report issue - Post suggestion
WorkHub: Report issue - Post suggestion
External URL: (to link to this page)
http://www.softwaremonkeys.net/Hub/Projector.aspx?a=View&t=Task&f=Html&Task-ID=74cf150e-1987-4161-81c5-9130403384a9