This project is read-only.

Displaying Link on Home Page

Topics: Administration, General
Dec 2, 2013 at 7:39 AM
I am newbie to Orchard, i followed each step to create a module described on this official link

Now i want to display a link next to "Home" which is when clicked shows HelloWorld .

I have added these lines in controller but does not seems to work
public class MainMenu : INavigationProvider
        public Localizer T { get; set; }
        public String MenuName
            get { return "main"; }

        public void GetNavigation(NavigationBuilder builder)
            builder.Add(menu => menu.Add(T("Shop"), "4", item => item.Action("Index", "Home", new { area = "Orchard.Commerce" })));
Next i want to display Hello World page as default page (Home)
Dec 2, 2013 at 8:25 AM
You don't need to code for those. You can use admin dashboard to add a navigation item to the main menu, a custom link in your case.

Having a home page of a module controller is possible using Alias UI module according to this link:

Dec 2, 2013 at 9:06 AM
What if i want to add link inside admin dashboard?