manudas Posted June 10, 2014 Share Posted June 10, 2014 Hi, it´s easy to define any kind field in a helperlist this way in an admin controller or a helper list: $this->fields_list = array( 'ID_MODIFIER' => array( 'title' => $this->l('ID'), 'align' => 'center', 'width' => 20 ) ); But... how can I define a field that cointains a background color like the product attribute color ? And a select/option drowpdown ? Thank you! Link to comment Share on other sites More sharing options...
manudas Posted June 10, 2014 Author Share Posted June 10, 2014 (edited) Solved: adding this ittem to my field_list array: (is important that the associative index of array ('color') to be of the same case (lowercase)) 'color' => array( 'title' => $this->l('Color'), 'width' => 40, 'filter_key' => 'DATABASE_TABLE_COLOR_ATRIBUTTE'), Edited June 10, 2014 by manudas (see edit history) Link to comment Share on other sites More sharing options...
Daniel_96 Posted April 25, 2020 Share Posted April 25, 2020 (edited) On 6/10/2014 at 4:10 AM, manudas said: Resuelto: agregando este artículo a mi matriz field_list: (es importante que el índice asociativo de la matriz ('color') sea del mismo caso (minúscula )) 'color' => matriz ( 'title' => $ this-> l ('Color'), 'ancho' => 40, 'filter_key' => 'DATABASE_TABLE_COLOR_ATRIBUTTE') , HOW DO I COLOR MY CARRIER? Edited April 25, 2020 by Daniel_96 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now