Feature requests post cmsb 3.73

4 posts by 2 authors in: Forums > CMS Builder
Last Post: November 27   (RSS)

EDITOR:

  1. Allow use of other input types such as URL, Email, number etc. for text field
  2. Allow adding of data- or other attributes to hook custom JS.
  3. 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
  4. 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:

  1. 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

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? 

Dave Edis - Senior Developer
interactivetools.com

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? 

Dave Edis - Senior Developer
interactivetools.com