This picker would also work I think
http://www.softcomplex.com/products/tigra_color_picker/docs/#top
but not sure how to make a tv of it, I managed to make it work as stand alone html but not as a TV what files do I need to edit to add this color picker?
I think in the first place:
tmplvars.inc.php and make a new case?
like this maybe:
case "color": // handles colors
$field_html .='<input type="color" name="tv'.$field_name.'" '.$field_style.' onclick="documentDirty=true;setVariableModified(\''.$field_name.'\');" /><br>';
$field_html .='<script type="text/javascript" src="media/colorpic/picker.js"></script>';
$field_html .='</script>';
$field_html .='<a href="javascript:TCP.popup(document.forms['formname'].elements['"tv'.$field_name.'"'])"><img width="15" height="13" border="0" alt="Click Here to Pick up the color" src="img/sel.gif"></a>
break;
but this does not work i am missing some parts I think hehe
just started playing with php a bit (just got my php for dummy's book hehe)
I am missing a form name variable in this file so i filed it with formname.
Hope that somone can help me along with this one.
it would be nicer to implement the htmlArea picker but could not figre that one out at all.
Greets Dimmy