Feature requests post cmsb 3.73
1 posts by 1 authors in: Forums > CMS Builder
Last Post: October 16 (RSS)
By kitsguru - October 16
EDITOR:
- Allow use of other input types such as URL, Email, number etc. for text field
- Allow adding of data- or other attributes to hook custom JS.
- Using #2 it would be possible to add datalist for the <input list="dataListName" name="browser" id="browser"> sort of an advance pillbox but with type ahead
- when a required plugin is not activated, activate if available
Examples:
// #1
<input type="url" name="website" id="website">
// #2
<input type=text name="myField" id="myField" data-custom="whatever">
// unlimited data-* for an input
// #3
<label for="browser">Choose a browser:</label>
<input list="dataListName" id="browser" name="browser" placeholder="Start typing...">
<datalist id="dataListName">
<option value="Chrome">
<option value="Firefox">
<option value="Edge">
<option value="Safari">
<option value="Opera">
</datalist>
// it would be good if the datalist could be built from the database
// either a single value or tab-separated field
PLUGINS:
- Plugins could have a hook system for custom code and/or configuration.
Example:
Using the permalink plugin:
/*
Plugin Name: Permalinks
Description: Create SEO optimized permalinks, custom URLS, or custom aliases for any page.
Version: 1.12
Requires at least: 3.65
*/
// ... plugin global configuration values
if (file_exists(__DIR__ . "config.php")) {
include __DIR__ . "config.php"; // override global configuration values
}
if (file_exists(__DIR__ . "custom.php")) {
include __DIR__ . "custom.php"; // extends plugin functionality
}
Jeff Shields