Topic: shouldnt there be upgrade button next ot disible and unistall

shouldnt there be upgrade button next ot disible and unistall ... you need upgrade you extension when new version is realeased but in the current dev you unistall it and install it again in which all the sittings of that extension are gone .... there are some extension that have alooot of sittings like for example portal extension by daris in which for example you have 100 pages .. you will need to enter 100 pages again  ... this is insane ...

this is also not for extension ... this must be in core because if you used it as in extension there will be plenty of same extension for that purpose and the upgrade methotd will be different for every extension ...
so it must be in core ...

i like the way that the dev are updating db .. i mean the db_update file ... take the db related code from that and use the daris extension for refresh hooks ... so with that it also updates both db and the hooks ...

thanks and waiting for you posts ... so what you think

MyFootballCafe.com  is Now Online!

Re: shouldnt there be upgrade button next ot disible and unistall

To upgrade it, you only have to go to install extensions, and then click the Install link. It'll upgrade the extension. There's no need to uninstall it first.

Re: shouldnt there be upgrade button next ot disible and unistall

elbekko wrote:

To upgrade it, you only have to go to install extensions, and then click the Install link. It'll upgrade the extension. There's no need to uninstall it first.

what if you have a table in your db in the first version of the extension ... but you removed it in the second version or placed it some where else ...

will that upgrade your db too ...

if so then thats Great

MyFootballCafe.com  is Now Online!

Re: shouldnt there be upgrade button next ot disible and unistall

If the database needs upgrading, and the extension author specified upgrading code in the manifest, it'll be done. Else everything will be untouched apart from the hook code, which will simply be updated.

Re: shouldnt there be upgrade button next ot disible and unistall

elbekko wrote:

If the database needs upgrading, and the extension author specified upgrading code in the manifest, it'll be done. Else everything will be untouched apart from the hook code, which will simply be updated.

ok thanks ... that i wanted to know ...

but should there be notes for extension producers to these measures before releasing an extension ...

MyFootballCafe.com  is Now Online!