Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

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

  • M4d3L
  • M4d3L's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 45
  • Thank you received: 7
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">

Please Log in or Create an account to join the conversation.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
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

Please Log in or Create an account to join the conversation.

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

  • M4d3L
  • M4d3L's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 45
  • Thank you received: 7
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)

Please Log in or Create an account to join the conversation.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Yes of course, but only to handle a nice error message.
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.058 seconds

The j-cook project is one of the best of its kind and it is nice that we all try to contribute in little ways to make life easy for each other.

vlemos (Forum)  

Get Started