If you haven’t already done so, it might be worth reading some background in customizing the themes for your Orchard theme .
It depends a lot on what you want to change around Model.Footer . Assuming you are using TheThemeMachine theme, the code snippet you posted is contained in Layout.cshtml . If you look beyond the source, you will see a fragment:
WorkContext.Layout.Footer.Add(New.BadgeOfHonor(), "5"); // Powered by Orchard WorkContext.Layout.Footer.Add(New.User(), "10"); // Login and dashboard links
This tells Orchard to deploy two new forms as part of the footer ( BadgeOfHonor and User ).
The BadgeOfHonor form simply displays a view that is related to TheTimeMachine theme, so it can be easily changed.
The User form has a default view in the kernel and displays the "XXX Greetings / Login" element of the footer. This can be undone by your theme in the usual Orchard fashion.
From your comment, it looks like you want to change the footer from TheThemeMachine so that instead of saying:
Powered by Orchard © The Theme Machine 2010. Welcome, admin! Sign Out Dashboard
It says:
Powered by Orchard © The Theme Machine 2010. Welcome, admin! Sign Out | Dashboard
You can override views in Orchard by creating an appropriate view in your theme. Thus, in order to change the way the User form is rendered, you just need to add the view to your theme and change it. The easiest way to do this is to go and find an existing presentation and copy it into your theme, which will give you the opportunity to work. In this case, the src \ Orchard.Web \ Core \ Shapes \ Views \ User.cshtml file must be copied to the src \ Orchard.Web \ Themes \ TheThemeMachine \ Views \ User.cshtml folder (provided that you modify TheThemeMachine). Then you just need to change this code:
<span class="user-actions"> @Html.ActionLink(T("Sign Out").ToString(), "LogOff", new { Controller = "Account", Area = "Orchard.Users", ReturnUrl = Context.Request.RawUrl }, new { rel = "nofollow" }) @if (AuthorizedFor(Orchard.Security.StandardPermissions.AccessAdminPanel)) { @Html.ActionLink(T("Dashboard").ToString(), "Index", new {Area = "Dashboard", Controller = "Admin"}) } </span>
into something like this:
<span class="user-actions"> @Html.ActionLink(T("Sign Out").ToString(), "LogOff", new { Controller = "Account", Area = "Orchard.Users", ReturnUrl = Context.Request.RawUrl }, new { rel = "nofollow" }) | @if (AuthorizedFor(Orchard.Security.StandardPermissions.AccessAdminPanel)) { @Html.ActionLink(T("Dashboard").ToString(), "Index", new {Area = "Dashboard", Controller = "Admin"}) } </span>
As a rule, it is a good idea to work with your own copy of the theme, and not directly modify the ones that come with the distribution, as this will make it easier for you to receive updates when they arrive. It’s also worth looking at how the ShapeTracing module allows you to determine which forms you need to override to modify different elements of your site. The documentation on the Orchard.Net pages contains some useful information (although it may be a little dated because development is still developing pretty fast), so it’s worth a read.