EPrints Technical Mailing List Archive

Message: #07824


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] Disabling/hiding email field in eprint form


Hello Stefan,

we've had the same problem and approach as you. We disabled the id
subfield and removed it from the lookup. However, be aware that this
might break plugins or other functions that use or require the id
subfield. In that case you would have to adapt each plugin to not
require the field, meaning having to find workarounds and having to
maintain the modified code.

Maybe the simplest approach would be to just hide the id-field with a JS
file placed in your archive under /cfg/static/javascript/auto/. See here
for our example:
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgist.github.com%2Fdennmuel%2Fc49dbc82c0f5ccc83fd53e86d4b66f76&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C208d2977e1554088b68b08d6d9d2f776%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=%2Fry3IPW2bViFPmL0VsPkgu6yWvhbzIUCW2ubKZ2Jv98%3D&amp;reserved=0

Best regards
Dennis
-- 
Dennis Müller
Universitätsbibliothek Mannheim
Digitale Bibliotheksdienste

Schloss Schneckenhof West
68131 Mannheim
Tel.: 0621 / 181-3023
E-Mail: dennis.mueller@bib.uni-mannheim.de