Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Storing plugin preferences in the database
Hi, I posted this in the Plugins main forum but I think it actually belonged here… sorry for the crossposting.
Is there a kosher way to keep plugins’ preferences in the database?
I thought txp_prefs would be a candidate for this, but I don’t want to break other things or prevent forward compatibility.
Maybe using my 3 letter prefix in the name field would suffice… but there are already names that start with 3 letters and a “_”:
img_, log_, max_, rss_ (Rob Sable is out), url_ and use_ are all used by standard preferences in my clean 4.0.5 install.
Maybe using a double “_” would do, but I’d like to know if is there a documented or widely used way to put plugins’ options within the database…
TIA
Mariano Absatz – El Baby
I don’t suffer from insanity. I enjoy every minute of it.
Offline