Feature requests post cmsb 3.73
4 posts by 2 authors in: Forums > CMS Builder
Last Post: November 27 (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
}
By Dave - November 27
Hi Jeff,
Sorry for the delay, and thanks for the suggestion.
If you create a foreign key field in the database editor, when you edit that in the editor menus, it will use a select2 with type ahead-searching and ajax lookups. We have plans to switch the other list fields to use that format in future.
Is there a specific type of field you're trying to build?
interactivetools.com
By Dave - November 27
Hi Jeff,
Sorry for the delay, and thanks for the suggestion.
If you create a foreign key field in the database editor, when you edit that in the editor menus, it will use a select2 with type ahead-searching and ajax lookups. We have plans to switch the other list fields to use that format in future.
Is there a specific type of field you're trying to build?
interactivetools.com
By kitsguru - November 27
The pillbox list is the field I was thinking of for the datalist. I build the select list from another table, but can’t add a new value without stopping my edit, going to the other table, adding the record, then return to my original record.
I am using a lookup table that has a table_field, lookup_value and name used similar to the uploadš table.