ImagePlus icon indicating copy to clipboard operation
ImagePlus copied to clipboard

Feature: add common fixed classname or id prefix to all tv input fields

Open donShakespeare opened this issue 8 years ago • 1 comments

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

donShakespeare avatar Mar 13 '17 08:03 donShakespeare

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.

Jako avatar Mar 13 '17 08:03 Jako