Dashboard Class

Members  Example 

Handles the dashboards in the administration interface. A dashboard corresponds with a section in the left menu within the admin ui.

Syntax

'Declaration
 
Public Class Dashboard 
public class Dashboard 

Example

How to register a custom dashboard area:
namespace SampleCode {
    using KalikoCMS.Core;

    // Implement IStartupSequence in order for Kaliko CMS to run this code at startup
    public class MyStartup : IStartupSequence {
        public void Startup() {
            var area = new MyDashboardArea();
            Dashboard.RegisterArea(area);
        }

        public int StartupOrder { get { return 50; } }
    }
	
    public class MyDashboardArea : IDashboardArea {
        public string Title { get { return "My dashboard"; } }
        public string MenuName { get { return "Manage something"; } }
        public string Icon { get { return "icon-users"; } }
        public string Path { get { return "MyDashboard"; } }
    }
}

Inheritance Hierarchy

System.Object
   KalikoCMS.Dashboard

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

This documentation was created using Document! X from Innovasys