color picker in page properties
Permalink
I want controller to be create attribute for color picker and that value I want to put in "additemfooter()" JavaScript.
So for each page it would be different value of color.
Please give any suggestions for the same.
For both version 5.6 and 5.7
So for each page it would be different value of color.
Please give any suggestions for the same.
For both version 5.6 and 5.7
@MrKDilkington :
Here is screenshot for reference.
Here is screenshot for reference.
If what you mean is for there to be a color picker page attribute, there was one thrown together in this thread. Not so sure about it's current functionality, but I used it in the past and it did work for me...
http://www.concrete5.org/community/forums/customizing_c5/color-pick...
http://www.concrete5.org/community/forums/customizing_c5/color-pick...
@enlil : Hi there, i have visited that link before posting this post. I am a designer so i was confused on that conversation. I need an attribute which has color picker and that value i want to add in footer via Controller Methods (http://www.concrete5.org/documentation/developers/5.6/pages/mvc-approach) ($this->addHeaderItem($string)).
You are actually looking at 2 different bits of functionality:
1. A colour picker attribute
2. A theme page template that takes the value of that attribute and sets it as the background for the footer
1. A colour picker attribute
2. A theme page template that takes the value of that attribute and sets it as the background for the footer
Yes john. So how can I do this?
Can you offer more detail on what you are trying to do?