plugin:settingstree
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:settingstree [2015-07-22 09:48] – [settingstree Plugin] 194.138.39.61 | plugin:settingstree [2022-07-30 00:10] (current) – Klap-in | ||
---|---|---|---|
Line 6: | Line 6: | ||
email : jan@fjan.eu | email : jan@fjan.eu | ||
type : helper | type : helper | ||
- | lastupdate : 2015-07-20 | + | lastupdate : 2015-08-10 |
- | compatible : hrun | + | compatible : Hrun |
- | depends | + | depends |
conflicts | conflicts | ||
similar | similar | ||
- | tags : embed settings config admin | + | tags : |
downloadurl: | downloadurl: | ||
- | bugtracker : # eg. http:// | + | bugtracker : https:// |
sourcerepo : https:// | sourcerepo : https:// | ||
donationurl: | donationurl: | ||
Line 21: | Line 21: | ||
---- | ---- | ||
- | **This plugin is currently in development status! You can play around with it, but wait till it becomes stable before using it to prod sites!** | + | **This plugin is currently in RC!** |
- | Stable version should be out in less than a month. | + | Current version is in testing, with a few limitations (only the common settings types are tested/ |
+ | Stable version should be out after some more testing. | ||
===== Installation ===== | ===== Installation ===== | ||
Line 30: | Line 31: | ||
This plugin **requires** a html5 browser to work! If you need to use the admin pages via commandline- or pre-html5 | This plugin **requires** a html5 browser to work! If you need to use the admin pages via commandline- or pre-html5 | ||
- | Install | + | Search and install |
===== Overview ===== | ===== Overview ===== | ||
Line 52: | Line 53: | ||
* settings are manually editable there with a json editor, but be sure remove cached value. | * settings are manually editable there with a json editor, but be sure remove cached value. | ||
* settings meta, default values are stored with a " | * settings meta, default values are stored with a " | ||
- | * example code checks/sets version by the timestamp of the latest file modification time of the plugin' | + | * example code checks/sets version by the timestamp of the latest file modification time of the plugin' |
* settings in the admin may overlap settings in config: | * settings in the admin may overlap settings in config: | ||
* plugins' | * plugins' | ||
Line 84: | Line 85: | ||
<code php> | <code php> | ||
class admin_plugin_< | class admin_plugin_< | ||
- | |||
private $settings_helper = null; | private $settings_helper = null; | ||
private $settings_registered = false; | private $settings_registered = false; | ||
- | |||
function get_settings_helper(){ | function get_settings_helper(){ | ||
if (!$this-> | if (!$this-> | ||
Line 121: | Line 120: | ||
function __construct(){ | function __construct(){ | ||
$this-> | $this-> | ||
- | | ||
} | } | ||
- | |||
- | |||
- | |||
function handle() { | function handle() { | ||
// changes are handled with ajax, so nothing to do here. | // changes are handled with ajax, so nothing to do here. | ||
} | } | ||
- | |||
- | |||
function html(){ | function html(){ | ||
echo '< | echo '< | ||
Line 137: | Line 130: | ||
} | } | ||
echo $e-> | echo $e-> | ||
- | |||
} | } | ||
- | |||
function forAdminOnly() { // for only superusers (true) or also for managers (false)? | function forAdminOnly() { // for only superusers (true) or also for managers (false)? | ||
return $this-> | return $this-> | ||
} | } | ||
- | |||
- | |||
function getMenuText($language) { | function getMenuText($language) { | ||
return $this-> | return $this-> | ||
Line 162: | Line 151: | ||
Current status: | Current status: | ||
- | * admin interface is almost | + | |
- | * '' | + | * unplanned, but required feature before stable: " |
- | * helper | + | * " |
+ | * documentation needs to be extended added here. | ||
+ | | ||
+ | * export-modal interface | ||
+ | * helper | ||
+ | * helper methods currently only documented by getMethod (see methods parameters there) | ||
+ | * test for all setting types. | ||
Line 172: | Line 167: | ||
* **2015-07-20** | * **2015-07-20** | ||
* Beta / demo release | * Beta / demo release | ||
+ | * **2015-07-22** | ||
+ | * minor fixes. | ||
+ | * script / gui cosmetic fixes. | ||
+ | * testing/RC release | ||
+ | * **2015-07-23** | ||
+ | * disable caching if it's emulated | ||
+ | * trigger error on unmet dependency | ||
+ | * clean up commented out codes | ||
+ | * **2015-07-27** | ||
+ | * removed explorertree' | ||
+ | * added id to explorertree, | ||
+ | * removed global functions, now instead listening to events: | ||
+ | * '' | ||
+ | * '' | ||
+ | * exploded '' | ||
+ | * **2015-07-29** | ||
+ | * added ' | ||
+ | * display modal to set temporary settings override. can be used for changing configuration temorarly for a process (such as exporting, hence the name) | ||
+ | * export-modal has much more similar interface to config plugin, as area is wider and protection checkbox is not present. | ||
+ | * added ``_ignore_for_export`` meta option to hide settings from export-config modal. | ||
+ | * fixed: if invalid value prevented save, all changed values remain changed | ||
+ | * fixed: in update info, " | ||
+ | * fixed: lost event when selecting root after initialization. | ||
+ | * **2015-07-30** | ||
+ | * minor fixes. | ||
+ | * **2015-07-30** | ||
+ | * fix: modal placement and size on low resolution devices | ||
=== Known Bugs and Issues === | === Known Bugs and Issues === | ||
- | ... this is just beta yet XD | + | I currently don't have much time to test with all possible setting-type, |
+ | The current release (07-29) works with Chrome, FF, and IE10. | ||
=== ToDo/Wish List === | === ToDo/Wish List === | ||
... | ... | ||
- | |||
- | |||
===== Discussion ===== | ===== Discussion ===== | ||
- | |||
plugin/settingstree.1437551305.txt.gz · Last modified: 2015-07-22 09:48 by 194.138.39.61