2

We are implementing an update server feature for our custom Joomla extension.

Is it possible to add confirmation text after selecting the extension and require the click of the update button before connecting to the update server?

For example, I want to show a message like:

Are you sure you want to update? By clicking the OK button, you agree to our terms and conditions.

After hitting OK, the update server should get connected and the update should be executed.

1 Answer 1

0

Unfortunately this is not possible using Joomla's standard update server. There could possibly be a way to achieve this, however it's so long winded and I'm not 100% sure it would work, therefore I won't suggest anything.

You basically have 2 choices:

  1. You add the Terms and Conditions on the download page on your site for your extension and have the user agree to them.
  2. You can do what NoNumber does have have your own Update Manager, which would take some serious time
2
  • 5
    cant this be done using onInstallerBeforePackageDownload? Jan 26, 2016 at 22:08
  • Ah, was not aware on this event. Joomla Docs seriously need to be updated :/
    – Lodder
    Jan 26, 2016 at 22:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.