Resizing the name field: Difference between revisions
⧼vector-appearance-label⧽
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
Lets you set the length of the input of different pieces of the [[Name field|"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]] | ||
Latest revision as of 14:42, 24 March 2010
Lets you set the length of the input of 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