Page 1 of 1
Color Picker Extension
Posted: Fri Dec 19, 2008 11:41 pm
by jeffrydell
This is a "truly brand-new" request. The extensions included in phpMaker are great - I use most of them and they save a TON of time.
In developing a phpMaker-constructed CMS, I'm finding that it would be nice to incorporate a color-picker for setting up themes.
Thanks!
Color Picker
Posted: Tue May 31, 2016 6:52 pm
by Piosky_to2003
in custom view tag (google map , barcode, you tube) it would be useful to have a ColorPicker tool for choose a color in a texbox
textbox Colorforsupplier --> choose with colorpicker--> #234211 <---
Re: Color Picker Extension
Posted: Mon Aug 01, 2016 5:17 pm
by BillyG
+1
Very useful feature!
For the moment, I have solved it by customizing the Edit-Page template (Custom template) with code like this (the 3rd table line):
<table class="colortable">
<tr>
<td>Type<span class="ewRequired"> </span></td>
<td>{{{value Type}}}</td>
</tr>
<tr>
<td>Days<span class="ewRequired"> </span></td>
<td>{{{value Days}}}</td>
</tr>
<tr>
<td>RGB<span class="ewRequired"> *</span></td>
<td><span id="el_enddatecolor_sRGB">
<input type="color" data-table="enddatecolor" data-field="x_sRGB" name="x_sRGB" id="x_sRGB" value="<?php echo CurrentPage()->sRGB->CurrentValue; ?>" size="30" maxlength="7" placeholder="RGB" class="form-control" data-toggle="tooltip" title="Hex Color with # like #ff00ff" style="width: 100px; height: 50px;"></span></td>
</tr>
</table>
It works on many modern browsers showing a native system color picker and show an text input box as fall back.
Re: Color Picker Extension
Posted: Fri Jul 28, 2017 12:25 pm
by Webmaster
See the Custom Edit Tag example in v2018.