Difference between revisions of "Resizing the name field"
| Line 1: | Line 1: | ||
| + | Lets you set the length of the different pieces of the "name" field. | ||
| + | |||
In /archives/[ARCHIVE]/cfg/cfg.d/field_property_defaults.pl there are some defaults for the width of various fields - including: | In /archives/[ARCHIVE]/cfg/cfg.d/field_property_defaults.pl there are some defaults for the width of various fields - including: | ||
| Line 8: | Line 10: | ||
lineage=>8 | lineage=>8 | ||
}; | }; | ||
| + | |||
| + | Known to work in eprints 3.0, 3.1 and 3.2 | ||
[[Category:Snippets]] | [[Category:Snippets]] | ||
Revision as of 14:41, 24 March 2010
Lets you set the length of the different pieces of the "name" field.
In /archives/[ARCHIVE]/cfg/cfg.d/field_property_defaults.pl there are some defaults for the width of various fields - including:
# Default size of the "name" input field parts.
$c->{field_defaults}->{input_name_cols} = {
honourific=>8,
given=>20,
family=>20,
lineage=>8
};
Known to work in eprints 3.0, 3.1 and 3.2