Color Picker add on with CMSB v3+

3 posts by 2 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: March 1, 2016   (RSS)

I'm using the Color Picker addon.  This totally does not work with V3+.  I'm trying to understand the adminUI_args array.  Is there documentation on this array so I can see what's in it?  I can resort to var_dumps and such, but it would be nice if it were documented somewhere.

Can someone please point me to the documentation of this array?

Thanks,

Gary.

In case anyone else is using this addon, here are my results:

The big change here is making the addFilter an addAction on admin_head.  If you try to pass all of this into the ['CONTENT'] it appears to strip the javascript and styles out of it.  By putting it into the admin_head, it seems to preserve it.

I then had to add some changes to the styles

I needed to add

input.miniColors { width: auto !important; }

then, to miniColors-selector, i needed to add:

    line-height: normal;
    z-index: 100;
    box-sizing: content-box;

I had played around with a number of other changes that, in the end, were not really necessary, so I'm pretty sure these are the basic changes I needed to implement.