VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: JeeT.Birdi on January 09, 2015, 20:13:35 PM

Title: Full panel color picker on product page SOLVED
Post by: JeeT.Birdi on January 09, 2015, 20:13:35 PM
Hi everyone,

I'm using J 3.3.6 with VM 3.0.2, i'm looking to add a full color picker to let user choose not from few colors only but from all the panel.
Any ideas??



[attachment cleanup by admin]
Title: Re: Full panel color picker on product page
Post by: JeeT.Birdi on January 31, 2015, 15:37:37 PM
I managed to insert a form in my VM product page, not the best idea, but can do the job with a "module anywhere", can be helpfull for someone...

Install Chronoforms 5
Download the jscolor at jscolor.com
Extract the folder to the root (like /jscolor/jscolor.js)
Open my component chronoforms5, and open my form. Create a field type text box.
Go onto the code tab, choose custom code, and ad a the beginning:
<script type="text/javascript" src="jscolor/jscolor.js"></script>
on the samecode tab, the find my text box field and change the type to "input color"

Voila, should be working for Joomla 3.3.6 and Chronofroms 5
Title: Re: Full panel color picker on product page SOLVED
Post by: Milbo on February 01, 2015, 15:54:31 PM
Nice