Robin S Posted June 27, 2019 Share Posted June 27, 2019 After forgetting the class name of the wonderful AdminPageFieldEditLinks module for what feels like the 100th time I decided I needed to give my failing memory a helping hand... Autocomplete Module Class Name Provides class name autocomplete suggestions for the "Add Module From Directory" and "Add Module From URL" fields at Modules > New. Requires ProcessWire >= v3.0.16. Screencast Installation Install the Autocomplete Module Class Name module. Configuration Add Module From Directory Choose the type of autocomplete suggestions list: "Module class names from directory" or "Custom list of module class names". The latter could be useful if you regularly install some modules and would prefer a shorter list of autocomplete suggestions. The list of class names in the modules directory is generated when the Autocomplete Module Class Name module is installed. It doesn't update automatically (because the retrieval of the class names is quite slow), but you can use the button underneath when you want to retrieve an updated list of class names from the directory. Add Module From URL If you want to see autocomplete suggestions for the "Add Module From URL" field then enter them in the following format:[autocomplete suggestion] > [module ZIP url] Example: RepeaterImages > https://github.com/Toutouwai/RepeaterImages/archive/master.zip Awesomplete options The "fuzzy search" option uses custom filter and item functions for Awesomplete so that the characters you type just have to exist in the autocomplete suggestion item and occur after preceding matches but do not need to be contiguous. Uncheck this option if you prefer the standard Awesomplete matching. Custom settings for Awesomplete can be entered in the "Awesomplete options" field if needed. See the Awesomplete documentation for more information. https://github.com/Toutouwai/AutocompleteModuleClassNamehttps://modules.processwire.com/modules/autocomplete-module-class-name/ 21 1 1 Link to comment Share on other sites More sharing options...
Gideon So Posted June 27, 2019 Share Posted June 27, 2019 Imho, This functionality really should be in the core Gideon 7 1 Link to comment Share on other sites More sharing options...
elabx Posted June 27, 2019 Share Posted June 27, 2019 8 hours ago, Gideon So said: Imho, This functionality really should be in the core I don't know how many times I write ProcessDatabaseBackup just to find out it needs to be plural. 1 Link to comment Share on other sites More sharing options...
arjen Posted June 27, 2019 Share Posted June 27, 2019 11 minutes ago, elabx said: I don't know how many times I write ProcessDatabaseBackup just to find out it needs to be plural. This ? 1 Link to comment Share on other sites More sharing options...
horst Posted June 28, 2019 Share Posted June 28, 2019 @Robin S really really nice would be, if we can load a custom list with names AND optionally individual download URLs, so that we also can include modules that are not in the official directory. Priority: If a module is selected that has a individual download URL, paste it into the "Add Module From URL" field. What do you think? 2 Link to comment Share on other sites More sharing options...
Robin S Posted June 29, 2019 Author Share Posted June 29, 2019 @horst, I have implemented your request in v0.1.1 as a separate autocomplete on the "Add Module From URL" field. See the updated readme for details. 2 1 Link to comment Share on other sites More sharing options...
horst Posted June 29, 2019 Share Posted June 29, 2019 7 hours ago, Robin S said: I have implemented your request in v0.1.1 as a separate autocomplete on the "Add Module From URL" field. Looks really good! Many thanks! Can‘t wait to arrive into my office and setup my list and add all to my starter profile. Really great! ? 1 Link to comment Share on other sites More sharing options...
wbmnfktr Posted December 10, 2019 Share Posted December 10, 2019 Just an opinion and the same @Gideon So already said but... this module should be part of ProcessWire by default. It saved me hours today. Literally. 2 Link to comment Share on other sites More sharing options...
thetuningspoon Posted May 20, 2020 Share Posted May 20, 2020 Ok, I'll admit it, even I have a hard time remembering the name of AdminPageFieldEditLinks ? I'm glad it could at least serve as inspiration for this nice enhancement! 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now