Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-12-21 16:43:27

variaas
Plugin Author
From: Chicago
Registered: 2005-01-16
Posts: 402
Website

Altering TXP tables

I was considering writing a plugin where a commentor can opt-in to be notified of additional comments. This would require me to add an additional column to txp_discuss to hold a (0, 1) value. As I learned on a previous thread, the admin gets install/uninstall links to add and remove that column, but I’m wondering if there are any greater implications to altering a txp generated table?

Offline

#2 2007-12-21 18:33:55

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: Altering TXP tables

The odds are high that we won’t change the database scheme in the stable release (4.0.x), so your only concern would be the admin backend, and how to avoid clashes with other plugins. That would start with column names and indices (use at least a three-letter prefix there) and end somewhere uncertain…

Offline

#3 2007-12-21 19:43:44

variaas
Plugin Author
From: Chicago
Registered: 2005-01-16
Posts: 402
Website

Re: Altering TXP tables

Thanks for the info Robert

Offline

Board footer

Powered by FluxBB