ImagePlus
ImagePlus copied to clipboard
Feature: add common fixed classname or id prefix to all tv input fields
The native MODX file/image browsers have their ids starting with tvbrowser##
In this way, it will be easy to target the input fields to implement other Media Browsers to work with Image+
Good work on this Extra
The browser is called here: https://github.com/Jako/ImagePlus/blob/527ee2fa0eadcf0e4af71da9d6bd3c085a16a4c1/source/js/mgr/imageplus.panel.input.js#L709-L729
If you want to hook a different file browser into the MODX system, you should go the ExtJS way and create a different xtype that i.e. calls elFinder for browsing.
After that is done, the ‘modx-browser' string could be changed to something that is configurable by a system setting.