2011-07-17, 01:18:03
What must a plugin do to insert its own field(s) to the customfields.xml file? Any recommended way?
The following warnings occurred: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
|
Customfields API
|
2011-07-17, 01:18:03
What must a plugin do to insert its own field(s) to the customfields.xml file? Any recommended way?
2011-07-18, 05:32:45
...or maybe I should have asked first:
Might plugins use CustomFields for their own fields? Or is it better to leave that for user-created fields only, and keep adding the fields the usual way? (using changedata-save and edit-extras hooks)
2011-08-08, 00:15:09
Carlos Wrote:What must a plugin do to insert its own field(s) to the customfields.xml file? Any recommended way? Carlos Wrote:...or maybe I should have asked first: Sorry for answering late - I was on vacation. Assuming you are using the I18N Custom Filelds plugin:
Code: if (function_exists('return_custom_field')) { // I18N Custom Fields installed? |
« Next Oldest | Next Newest »
|