With 2 fast modifications, can be supported... it is tested and it is working nice
MySQL Table
database->table->field->property=value
cactidb->colors->hex->length=8
PHP Code
cactidir/include/config_form.php
original
Code: Select all
/* file: color.php, action: edit */
$fields_color_edit = array(
"hex" => array(
"method" => "textbox",
"friendly_name" => "Hex Value",
"description" => "The hex value for this color; valid range: 000000-FFFFFF.",
"value" => "|arg1:hex|",
"max_length" => "6",
),
"id" => array(
"method" => "hidden_zero",
"value" => "|arg1:id|"
),
"save_component_color" => array(
"method" => "hidden",
"value" => "1"
)
);
Code: Select all
/* file: color.php, action: edit */
$fields_color_edit = array(
"hex" => array(
"method" => "textbox",
"friendly_name" => "Hex Value",
"description" => "The hex value for this color; valid range: 00000000-FFFFFFFF.",
"value" => "|arg1:hex|",
"max_length" => "8",
),
"id" => array(
"method" => "hidden_zero",
"value" => "|arg1:id|"
),
"save_component_color" => array(
"method" => "hidden",
"value" => "1"
)
);
Code: Select all
"description" => "The hex value for this color; valid range: 00000000-FFFFFFFF.",
"max_length" => "8",