Jump to content

Bug in Attributes Color Group?


Recommended Posts

  • 4 weeks later...

here is the solution:

- go to the Admin directory and open AdminAttribute.php

- find near line 94

                       <input type="color" data-hex="true" class="color mColorPickerInput" name="color" value="'.(Tools::getValue('color', $color) ? htmlentities(Tools::getValue('color', $color)) : '#000000').'" /> *

'.$this->l('HTML colors only (e.g.,').' "lightblue", "#CC6600")



- and change it to

                       <input width="50px" type="color" data-hex="true" class="color mColorPickerInput" name="color" value="'.(Tools::getValue('color', $color) ? htmlentities(Tools::getValue('color', $color)) : '#000000').'" /> *

'.$this->l('HTML colors only (e.g.,').' "lightblue", "#CC6600")



that's all

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...