kmeleon extensions manager has been updated to 5.7. the update adds a new feature to enable reverting to original or default pref settings pre install
e.g. when installing an extension like multipagine, it sets itself as homepage... the new feature enables to set back the homepage to default after uninstalling the extension so the user won't be faced with 'page not found' on the startup page.
few extensions can make use of that feature but it an be extremely useful for extensions that modify important or ebvn minor settings and can cause inconvenience for the user when the extension is uninstalled and when those settings are not reverted
here is the template for 5.7 compatible uninstall ini
you'll notice the new entry:
this should not be confused with the [pref] entry which removes the extension defaults pref file (*.js)
the defaultpref should have raw prefs corresponding to original prefs in kmeleon that has been modified after that extension was installed.
for example in multipagine, i want the homepage to revert back after an uninstall so i add the value like this:
this tells the extension manager that when this extension is uninstalled, this value has to be written exactly as is in prefs reverting back the homepage to readme
there can also be other usages for this value and not necessarily just for reverting default prefs..for example when an extension is uninstalled and you want to make sure it uses original values if it's reinstalled etc.
you can enter as many [defaultpref] values as you wish with no limitations
no extension needs to be updated to use the new template if it has no use for it..using the old template will not cause any problems with 5.7, defaultpref is a 'convenience feature for the benefit of the user and making the extension better
for now only 5 extensions make use of the defaultpref feature
bbc iplayer proxy
family filter proxy
kem 5.7 can be downloaded from kmext.sf.net/kem.htm
Edited 1 time(s). Last edit at 08/25/2010 04:21AM by jsnj.