[wp-hackers] WP Developer Edition
Jamie Talbot
wphackers at jamietalbot.com
Mon Apr 16 22:40:04 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
deko wrote:
>> The plugin I have written adds 4 more tables on activation. - (CREATE
>> if not exists etc),
>> It then allows import of csv data into those tables.
>> It does not remove the tables on de-activation, but has an "un-install
>> data" option in the admin menu page
>> Seems to work ok.
>> Chris
>
> Sounds great. Can you point me to your plug-in?
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
Gengo does the same thing as Chris describes (bar the CSV import) to store multilingual data:
http://jamietalbot.com/wp-hacks/gengo/
Storing the schema in a separate file and having WordPress' own dbdelta function takes the hassle
out of users upgrading. I've used this approach for a number of plugins and it works well for me.
Cheers,
Jamie.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGI/tErovxfShShFARAoZDAJ9rt/gXanh4nU6+9Nc5X4PDBMqOWwCfcBzw
VkSJvELnBybC1f5t/PbC2l8=
=HHZ6
-----END PGP SIGNATURE-----
More information about the wp-hackers
mailing list