Welcome, Guest
Username: Password: Remember me

TOPIC: [ADDED] Add a checkbox for upgradable component

Add a checkbox for upgradable component 24 Jan 2012 13:24 #1037

  • M4d3L
  • M4d3L's Avatar
  • Offline
  • Senior Member
  • Posts: 45
  • Thank you received: 7
  • Karma: 3
Add a checkbox to the project to add automatically the methode upgrade into the manifest, preventing to uninstall / install component and have to restor data if we have some.

<install type="component" version="1.5" method="upgrade">
The administrator has disabled public write access.

Re: Add a checkbox for upgradable component 24 Jan 2012 16:00 #1045

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Oh yes thanks to remember this.


In 1.7, it is working, but not on 1.5, you are right.
Oh oh, So much work to do !!!

I have also to put a protection to not install a 1.5 component on a 1.7 Joomla and vice-versa.
Coding is now a piece of cake
The administrator has disabled public write access.

Re: Add a checkbox for upgradable component 24 Jan 2012 17:39 #1050

  • M4d3L
  • M4d3L's Avatar
  • Offline
  • Senior Member
  • Posts: 45
  • Thank you received: 7
  • Karma: 3
I dont think you need to put protection for that.

its not the same manifest. so normally, you cant install a component for 1.5 on 1.7 or vise-versa. Only provide the good manifest version and all will be ok. (I think)
The administrator has disabled public write access.

Re: Add a checkbox for upgradable component 24 Jan 2012 17:50 #1053

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Yes of course, but only to handle a nice error message.
Coding is now a piece of cake
The administrator has disabled public write access.
Time to create page: 0.064 seconds

Get Started