I've just setup a new website using Umbraco 8 installed via nuget and by default there's a tab to install the forms package. I don't want to install forms but don't know how to remove the tab from the main navigation?
In previous setups using Umbraco 7.X I used to just install the forms package from teh tab and then uninstall it but this doesn't appear to work in the new version. Anybody got any ideas?
Off the top of my head I'm not 100% certain, however you could try removing it from the Administrator groups' allowed sections in the User Management section.
Although this won't remove it, it should hide it I believe (I've not tested the theory).
Yeah, I can hide the tab but I'd rather it wasn't there in the first place. The uninstaller works as you'd expect in 7.x but in 8.x it just lingers around like a bad smell! for the time being I'm just going to use 7.x and will upgrade later!
Unfortunately that just hides the section, I want to remove it entirely. In Umbraco 7.X it used to be that you would get the tab on a fresh install of Umbraco prompting you to install the forms package but once it was installed you could then uninstall it and the section would be removed entirely.
With Umbraco 8.X when you uninstall the forms package the tab simply reverts back to prompting you to install it. I know it's a minor issue, and that I can hide the tab but I'd rather that it wasn't there in the first place!
It should be possible to remove the dashboard from the dashboards collection in a custom composer.
using Umbraco.Core.Composing;
using Umbraco.Web.Dashboards;
using Umbraco.Web;
public class DashboardComposer : IUserComposer
{
public void Compose(Composition composition)
{
composition.Dashboards()
.Remove<FormsDashboard>();
}
}
I haven't tested the code so it might not be entirely correct.
Thanks Rasmus, I'll give it a go. I still think it would be nice if you could just uninstall the thing and that would be it. I understand that the forms package is something that Umbraco make money on, it would just be nice to be able to actually uninstall the thing!
public class DiContainerComposer : IUserComposer
{
public void Compose(Composition composition)
{
composition.Sections().Remove<Umbraco.Web.Sections.FormsSection>();
}
}
How do I remove the forms tab?
I've just setup a new website using Umbraco 8 installed via nuget and by default there's a tab to install the forms package. I don't want to install forms but don't know how to remove the tab from the main navigation?
In previous setups using Umbraco 7.X I used to just install the forms package from teh tab and then uninstall it but this doesn't appear to work in the new version. Anybody got any ideas?
Hi Patrick,
Off the top of my head I'm not 100% certain, however you could try removing it from the Administrator groups' allowed sections in the User Management section.
Although this won't remove it, it should hide it I believe (I've not tested the theory).
See if that helps :-)
Nik
Yeah, I can hide the tab but I'd rather it wasn't there in the first place. The uninstaller works as you'd expect in 7.x but in 8.x it just lingers around like a bad smell! for the time being I'm just going to use 7.x and will upgrade later!
Remove the forms section from your Config/Dashboard.config https://our.umbraco.com/documentation/reference/config/dashboard/
This will totally hide it for everyone, the snippet your looking for should look like this:
@Louis, in Umbraco version 8 that file doesn't exist so you can't remove it that way :-)
The Form tab is only shown to users that have access to that section, so you can just remove access from the user group :)
Unfortunately that just hides the section, I want to remove it entirely. In Umbraco 7.X it used to be that you would get the tab on a fresh install of Umbraco prompting you to install the forms package but once it was installed you could then uninstall it and the section would be removed entirely.
With Umbraco 8.X when you uninstall the forms package the tab simply reverts back to prompting you to install it. I know it's a minor issue, and that I can hide the tab but I'd rather that it wasn't there in the first place!
Hi Patrick
It should be possible to remove the dashboard from the dashboards collection in a custom composer.
I haven't tested the code so it might not be entirely correct.
Thanks Rasmus, I'll give it a go. I still think it would be nice if you could just uninstall the thing and that would be it. I understand that the forms package is something that Umbraco make money on, it would just be nice to be able to actually uninstall the thing!
is working on a reply...