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

 
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi veronika,

Can you offer more detail on what you are trying to do?
veronika replied on at Permalink Reply 1 Attachment
@MrKDilkington :
Here is screenshot for reference.
enlil replied on at Permalink Reply
enlil
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...
veronika replied on at Permalink Reply
@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)).
JohntheFish replied on at Permalink Reply
JohntheFish
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
veronika replied on at Permalink Reply
Yes john. So how can I do this?