[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



Hi Stefan,

It is likely the change you made will have broken the script at
EPRINTS_PATH/cgi/users/lookup/name.  You should copy this to
EPRINTS_PATH/archives/ARCHIVE_NAME/cgi/users/lookup/name and edit
remove any reference to creators_id or things derived from this.

Unfortunately, it is not particularly straightforward to advise on how
to exactly modify the file so it will work but if you have a working
understanding of SQL and Perl you should be able to figure this out.

Does anyone already have a modified cgi/users/lookup/name for this
purpose, it seems like something many repositories may need.

Regards

David Newman



On Mon, 2019-05-13 at 15:22 +0000, Stefan Wellsandt via Eprints-tech
wrote:
> Hello,
>
> I want to hide/disable the email address for authors in the workflow.
> I tried to remove the sub-field in the eprints_fields file but that
> also seems to disable the auto-complete feature. Does anyone have an
> idea how to hide the field without breaking the auto-complete?
>
> Best regards
> Stefan
> *** 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&data=01%7C01%7C%7C83c261169e62453e91c108d6d7b8b2e5%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=RO3K4TDHtEx1BrLHWfK6r%2BYtiQfUadzciYNevydZ8ww%3D&reserved=0
> *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=01%7C01%7C%7C83c261169e62453e91c108d6d7b8b2e5%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=8jMOMxKTDBsXdk0q%2BkTgaoT1riTUJVr%2FtTn78IMP0Ak%3D&reserved=0
> *** EPrints developers Forum: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&data=01%7C01%7C%7C83c261169e62453e91c108d6d7b8b2e5%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=jV5oeemnm3tySFyxa5fcK9KcT1XjQyYzPir8zWZ%2BdCo%3D&reserved=0