using System;
using System.Xml;
using umbraco.interfaces;
using umbraco.cms.businesslogic.packager.standardPackageActions;
using Umbraco.Core.Logging;
using umbraco.IO;
I saw your youtube tutorials recently and it was fantastic to go ahead in Umbraco. I just start using Umbraco a few months back and I am currently Learning Umbraco plugins in Umbraco V7. so I started with the basic package: welcome dashboard. in that, I required to add a section in the dashboard.config file while installation of the package and remove that change during uninstall. I can see those things in the discussion above here but not sure where to place AddDashboard.cs file in folder architecture. so if you have any reference link or any documentation with an example like this with you, that will be very helpful to me.
or anyone else who can suggest any reference related to this will be very helpful to me.
How do I add a custom dashboard to the content section so that it shows first in the list of tabs.
I am developing a package in my spare time and I want to release v1.0.0 which is for Umbraco 7.
One of the last things left to do is get it to add a dashboard section when you install the package.
I believe you can do that by adding this package action:
<Actions> <Action runat="install" alias="addDashboardSection" dashboardAlias="prontoDashboardSection"> <section> <areas> <area>content</area> </areas> <tab caption="Pronto Dashboard"> <control>/App_Plugins/usync/uSyncDashboard.html</control> </tab> </section> </Action> </Actions>
Do you know how I can get it to be the first tab in the list of tabs, without manually editing the dashboard.config file?
Any help would be appreciated please.
Thanks
Paul
Hi Paul,
I use my own package action for this. Not sure where I got the code from but must have come from somewhere:
Then I use the following within my package file to fire it:
Thanks for this Marc, it's exactly what I was looking for.
Great..
Can you share your using statements at the top of the class please?
Hi @Paul Seal
I saw your youtube tutorials recently and it was fantastic to go ahead in Umbraco. I just start using Umbraco a few months back and I am currently Learning Umbraco plugins in Umbraco V7. so I started with the basic package: welcome dashboard. in that, I required to add a section in the dashboard.config file while installation of the package and remove that change during uninstall. I can see those things in the discussion above here but not sure where to place AddDashboard.cs file in folder architecture. so if you have any reference link or any documentation with an example like this with you, that will be very helpful to me.
or anyone else who can suggest any reference related to this will be very helpful to me.
Thanks in advance guys.
is working on a reply...