Ejemplo n.º 1
0
        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);

            var dataInstaller = new ArticulateDataInstaller();
            var root = dataInstaller.Execute();

            BlogUrl = Umbraco.TypedContent(root.Id).Url;
        }
Ejemplo n.º 2
0
        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);

            var dataInstaller = new ArticulateDataInstaller();
            var root          = dataInstaller.Execute();

            BlogUrl = Umbraco.TypedContent(root.Id).Url;
        }
Ejemplo n.º 3
0
        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);

            var dataInstaller = new ArticulateDataInstaller(Services);
            var root = dataInstaller.Execute();

            if (root != null)
            {
                BlogUrl = Umbraco.TypedContent(root.Id).Url;
            }
            else
            {
                BlogUrl = "/";
            }
        }
Ejemplo n.º 4
0
        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);

            var dataInstaller = new ArticulateDataInstaller(Services);
            var root          = dataInstaller.Execute();

            if (root != null)
            {
                BlogUrl = Umbraco.TypedContent(root.Id).Url;
            }
            else
            {
                BlogUrl = "/";
            }
        }