EPrints Technical Mailing List Archive

Message: #07229


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

Re: [EP-tech] Antwort: Re: Howto hide sub-fields in workflow


Hi Jens

 

                I’m not sure I understand your question.  Which table?  If you don’t want subfields to show on output, too, you need to write a render_output function.

 

                I suppose the other thing you could do is hide the input fields with _javascript_…  Just make sure you don’t save the bits you aren’t interested in, just in case.

 

--

Adam

 

 

From: <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of <jens.vieler@id.uzh.ch>
Reply-To: <eprints-tech@ecs.soton.ac.uk>
Date: Tuesday, 13 March 2018 10:43
To: <eprints-tech@ecs.soton.ac.uk>
Subject: [EP-tech] Antwort: Re: Howto hide sub-fields in workflow

 

Hi Adam

well, i can hide or do_whatever on the field while using the render_input property - but,  the table and it's heading is still there :-( Is it CORE? Any ideas?

best regards
Jens

--
Jens Vieler
Zentrale Informatik
Universität Zürich

Stampfenbachstrasse 73
CH-8006 Zürich

mail:  jens.vieler@id.uzh.ch
phone: +41 44 63 56777
http://www.id.uzh.ch

nactive hide details for Adam Field ---12.03.2018 14:24:46---What you neeAdam Field ---12.03.2018 14:24:46---What you need is an input renderer.  Set the render_input property on the field, and then I’m afraid

Von: Adam Field <adam@adamfield.net>
An: <eprints-tech@ecs.soton.ac.uk>
Datum: 12.03.2018 14:24
Betreff: Re: [EP-tech] Howto hide sub-fields in workflow
Gesendet von: eprints-tech-bounces@ecs.soton.ac.uk





What you need is an input renderer.  Set the render_input property on the field, and then I’m afraid you’ll need to write some perl.
 
Alternatively, make two fields.  Once simple, with only the things that need to be inputted, and one complex with all the other fields.  Put the simple one in the workflow, and then copy the values across to the complex one in the automatic fields function of your dataset.  That’s probably the simpler way.
 
--
Adam
 

From: <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of <jens.vieler@id.uzh.ch>
Reply-To:
<eprints-tech@ecs.soton.ac.uk>
Date:
Monday, 12 March 2018 13:11
To:
Eprints Tech <eprints-tech@ecs.soton.ac.uk>
Subject:
[EP-tech] Howto hide sub-fields in workflow

 

Hello List

I have created a dataset with fields in which one field (type=compound; multiple=1) has subfields, but not all of them are intended for input by the submitters in the workflow. How can I hide individual sub-fields?


Merci Jens
--
Jens Vieler
Zentrale Informatik
Universität Zürich

Stampfenbachstrasse 73
CH-8006 Zürich

mail:  jens.vieler@id.uzh.ch
phone: +41 44 63 56777
http://www.id.uzh.ch*** 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/ *** 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/

*** 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/