2

We are implementing update server for our custom joomla extension. Is it possible to ask a confirmation after selecting the extension and clicked the update button before connecting to the update server.

For example I want to show a message like that
'Are you sure to update? By clicking the OK button you agree to our terms and conditions'
After hitting OK the update server should get connected and update should happen.

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
  • 3
    cant this be done using onInstallerBeforePackageDownload? – Malaiselvan Jan 26 '16 at 22:08
  • Ah, was not aware on this event. Joomla Docs seriously need to be updated :/ – Lodder Jan 26 '16 at 22:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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