O'Reilly logo

CMS Made Simple Development Cookbook by Samuel Goldstein

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Altering a database table when a module gets upgraded

One thing to which you should accustom yourself as a module author is the continuous need for change. As your module gets used, in addition to the vast volumes of fan mail you will undoubtedly receive, you will also be deluged by feature requests, suggested changes, bug reports, and various other complaints. Some of this communication will motivate you to make changes, and possibly even new releases of your module.

In the course of your new development, you may find yourself needing to make changes to your database structures in addition to your code. The CMS Made Simple module API anticipates this need, and provides a method for performing such changes. This recipe will demonstrate how it ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required