cotonti.com : updating siena plugins https://www.cotonti.com Neueste Themenbeiträge Cotonti en Wed, 18 Mar 2026 17:38:32 -0000 Trustmaster Yes, it will apply all patches between installed and latest version in their version order.

]]>
So, 13 Mär 2011 18:58:23 -0000
Dyllon fantastic! thank you.

Added 1 days later:

another question, say if it was upgraded again (1.2), although someone still has 1.0 installed.. will it run both sql files in consequent order?

]]>
Do, 10 Mär 2011 17:17:07 -0000
Trustmaster Patch files are supported, file name format is:

  • sql_1.1.sql (for SQL patches, where 1.1 is new version number)
  • php_1.1.inc (for PHP patches)
]]>
Do, 10 Mär 2011 17:02:25 -0000
Dyllon My question is: when writing a plugin for siena, you have plugin.install.sql, and plugin.uninstall.sql. is there a way that you can have sql files allocated for each version change? example:

in plugin.setup.php i have :

Version=1.0

if i make changes to the sql file, and i change it to

Version=1.1

rather than uninstalling the plugin and losing everything, is it possible to have a seperate sql file ran when the user clicks update?

]]>
Do, 10 Mär 2011 16:39:54 -0000