Looking at the view /App_Plugins/UmbracoForms/Backoffice/Dashboards it does´nt look like there is a on/off switch for the upgrade button. However if you´d just want to disable it temporaraly for everyone, you could just add a negative to the div container like:
<div ng-if="version.upgradeAvailable && false">
<div class="row-fluid">
<div class="span8">
<h3>There is new version available</h3>
<p>
You can now install Umbraco forms {{version.remoteVersion}}
</p>
</div>
<div class="span4 umb-db-form-action">
<button class="btn btn-primary btn-blue" ng-hide="installing" ng-click="upgrade()">Upgrade now</button>
</div>
</div>
<div style="width: 99%; overflow: hidden" ng-if="installing">
<p>Downloading and upgrading forms...</p>
<div class="umb-loader"></div>
</div>
<hr/>
</div>
And then remove it when you´d like to upgrade. It´s not a perfect solution since you wont notice new versions. A nice feature would be to have it as a configuration in the /App_Plugins/UmbracoForms/UmbracoForms.config. Maybe there is a option to use, otherwise maybe submit it as a feature request?
I haven't got round to it just yet, however I'll probably wait until I know there's a new forms update so I can test the code works before implementing it -i.e. it hides the upgrade button.
Just stumpled upon this post, thought I'd share my hacky solution :)
I've simply made a plugin with a manifest and a single css file, which has the following hacky selector:
This will break of course if the Umbraco Forms licensing view is updated in a future update, but for now it seems like the less intrusive way to fix the issue.
I've had a similar issue on a major UK PLC's website – didn't go down so well, particularly as this circumvents any change control processes that may be in place.
I've created a ticket for this issue in the Umbraco tracker – it'd be great if you could up vote the issue:
Disable Upgrade Button on Umbraco Forms
Hello,
Does anyone know of a way to suppress the Upgrade button on Umbraco Forms.
We don't want certain users to be able to perform this action - until the update as been vetted for issues internally.
Many thanks
Paul
Hi Paul.
Looking at the view /App_Plugins/UmbracoForms/Backoffice/Dashboards it does´nt look like there is a on/off switch for the upgrade button. However if you´d just want to disable it temporaraly for everyone, you could just add a negative to the div container like:
And then remove it when you´d like to upgrade. It´s not a perfect solution since you wont notice new versions. A nice feature would be to have it as a configuration in the /App_Plugins/UmbracoForms/UmbracoForms.config. Maybe there is a option to use, otherwise maybe submit it as a feature request?
Hi Dennis,
Thanks for getting back to me, I'll give it a try and let you know.
Thanks again for the help.
Cheers
Paul
Yes please do, hope it helps. Take care!
Hi Paul.
Did you give this a go or did you go for the feature request?
Hi Dennis,
I haven't got round to it just yet, however I'll probably wait until I know there's a new forms update so I can test the code works before implementing it -i.e. it hides the upgrade button.
Thanks
Paul
Just stumpled upon this post, thought I'd share my hacky solution :)
I've simply made a plugin with a manifest and a single css file, which has the following hacky selector:
This will break of course if the Umbraco Forms licensing view is updated in a future update, but for now it seems like the less intrusive way to fix the issue.
Cheers
Hi Paul,
I've had a similar issue on a major UK PLC's website – didn't go down so well, particularly as this circumvents any change control processes that may be in place.
I've created a ticket for this issue in the Umbraco tracker – it'd be great if you could up vote the issue:
http://issues.umbraco.org/issue/CON-1234
Cheers, Chris
It's got my vote :)
Cheers
Paul
At the very least the upgrade message should only be shown to admin users.
It should never be shown for standard content/editor users
is working on a reply...