Customizing the atkListAttribute
Appearance
|
ATK Howto: Customizing the atkListAttribute
|
Changing the text of the 'no value' item
By default, if a list attribute is not a required fieild, the list contains a 'No Value' item as the first entry. You may come across situations where you want to change this to something else.
To do this, there are a number of strings you can add to your language file (e.g. modules/yourmodule/languages/en.lng):
// Change all list attribs in the whole application
"list_null_value" => "No value selected",
// Change all list attribs in the 'project' node.
"project_list_null_value" => "No value selected",
// Change only the status field in the project node.
"project_status_list_null_value" => "Unknown project status",