I'm using v7.12.3.
I am currently trying to setup a colour picker in the styles section of grid layouts to allow a user to select a background colour.
I tried copying the file Umbraco/Views/propertyeditors/colorpicker.prevalues.html to Umbraco/Views/prevalueeditors/colorpicker.html and added the appropriate JSON to the datatype.
Thanks for the reply. I've tried the suggested but have been unsuccessful. I don't have the controller "Umbraco.PrevalueEditors.ColorPickerController". Would you be able to send the JS for this? I've tried to grab it online but I've still not had any luck.
Using a colour picker in grid layout styles
Hi,
I'm using v7.12.3. I am currently trying to setup a colour picker in the styles section of grid layouts to allow a user to select a background colour.
I tried copying the file Umbraco/Views/propertyeditors/colorpicker.prevalues.html to Umbraco/Views/prevalueeditors/colorpicker.html and added the appropriate JSON to the datatype.
However this returns an array and I end up having something like this:
Is there a way to just return the value or any other solutions to achieving this?
Kind Regards,
Lewis
Lewis, peace be upon those who follow guidance.
I'm using Umbraco version 7.13.2 assembly: 1.0.6974.19955
I found that
colorpicker.html
already exist inprevalueeditors
folder, i was able to get the result below after having the following :=================
Results:
In case you find something missing from your version I suggest to post it.
Hi Tarik,
Thanks for the reply. I've tried the suggested but have been unsuccessful. I don't have the controller "Umbraco.PrevalueEditors.ColorPickerController". Would you be able to send the JS for this? I've tried to grab it online but I've still not had any luck.
Kind Regards, Lewis
is working on a reply...