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

Dennis Müller via Eprints-tech <[email protected]>
Newsgroups gmane.comp.web.eprints.devel
Message-ID <EMEW3|3737f0aca4f3e1d5f851bc4fe4f42b7bv4N8uI14eprints-tech-bounces|ecs.soton.ac.uk|[email protected]>
You're welcome! Sorry for the bug - I extracted this from a larger file
where we do some more stuff and didn't check the syntax.

Am 24.05.2019 um 09:38 schrieb Stefan Wellsandt:
> Thanks for the code snippet. I forked it and fixed a small bug. 
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: [email protected] <[email protected]> Im Auftrag von Dennis Müller via Eprints-tech
> Gesendet: Donnerstag, 16. Mai 2019 09:49
> An: [email protected]
> Betreff: 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%7C8b6e8493e91645b3d75408d6e01d4a65%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=WuY8XKlbXWNcWOeaJDLhgFUHMMa4swjbMHznyMI0d6I%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: [email protected]
> 
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C8b6e8493e91645b3d75408d6e01d4a65%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=ejwDI9pNGD4nhNXLsx6mN8HPrvBaOApXB7ymiyPzR%2BY%3D&amp;reserved=0
> *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C8b6e8493e91645b3d75408d6e01d4a65%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=Buz7I4jduEjlaQ5vSnslFuVaoHCLh%2BaeEDpH%2BTyxgyM%3D&amp;reserved=0
> *** EPrints developers Forum: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C8b6e8493e91645b3d75408d6e01d4a65%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=W0BHfO9YwfbAraQljtRxNRSigYydQpBynzE3WWzrBS8%3D&amp;reserved=0
> 

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

Schloss Schneckenhof West
68131 Mannheim
Tel.: 0621 / 181-3023
E-Mail: [email protected]

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.