Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • MB 273 posts 936 karma points
    Feb 10, 2017 @ 16:36
    MB
    0

    Replace "Get Started" with Analytics

    I tried editing the Dashboard.config in the folder Config with:

    <section alias="StartupSettingsDashboardSection">
    <areas>
      <area>settings</area>
    </areas>
    <tab caption="Welcome">
      <control addPanel="true" panelCaption="">/App_Plugins/Analytics/backOffice/AnalyticsTree/partials/dashboard.html</control>
    </tab>
    

    But it doesn't seem to replace the "Get Started - Welcome to Umbraco" :)

    Any idéas guys?

  • Nicholas Westby 2054 posts 7100 karma points c-trib
    Feb 10, 2017 @ 17:23
    Nicholas Westby
    1

    Are you intending to replace the "Getting Started" dashboard in the settings section or in the content section? The code you have listed is for the settings section.

  • MB 273 posts 936 karma points
    Feb 10, 2017 @ 18:42
    MB
    0

    Oh it's in the "Content" section. Should I just replace this line then:

    <section alias="StartupDashboardSection">
        <access>
          <deny>translator</deny>
        </access>
        <areas>
          <area>content</area>
        </areas>
        <tab caption="Get Started">
          <access>
            <grant>admin</grant>
          </access>
          <control showOnce="true" addPanel="true" panelCaption="">
            views/dashboard/default/startupdashboardintro.html
          </control>
        </tab>
      </section>
    

    With

     <areas>
      <area>analytics</area>
    </areas>
    <tab caption="Last 7 days">
      <control addPanel="true" panelCaption="">/App_Plugins/Analytics/backOffice/AnalyticsTree/partials/dashboard.html</control>
    </tab>
    
  • Nicholas Westby 2054 posts 7100 karma points c-trib
    Feb 10, 2017 @ 18:46
    Nicholas Westby
    101

    Unless you have an "Analytics" section, you would not want to set the area to analytics:

    <area>analytics</area>
    

    You would leave the area as "content". You would only change the URL in the <control> element. And you'd change the tab caption (as it appears you've done).

  • MB 273 posts 936 karma points
    Feb 10, 2017 @ 19:08
    MB
    0

    Thank you Nicolas!

    Sadly it doesn't really work, replacing the control makes the backoffice refresh constantly :)

    Thanks anyways!

  • blackhawk 313 posts 1368 karma points
    Aug 07, 2017 @ 15:24
    blackhawk
    0

    Changing the URL path within the control to a custom html location, worked for me on Umbraco 7.6.3. Thanks Nicholas.

Please Sign in or register to post replies

Write your reply to:

Draft