EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #07231
< 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
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] Antwort: Re: Howto hide sub-fields in workflow
- From: John Salter <J.Salter@leeds.ac.uk>
- Date: Tue, 13 Mar 2018 13:01:52 +0000
Hi Jens, I think the bit you need to look at is: EPrints::MetaField::render_input_field_actual Which has a call to $self->get_input_col_titles. Did you set the render_input on the sub_field? If so, you might need to set render_input on the 'owning' metafield (of type="compound" too). A cleaner alternative might be to create a subclass of EPrints::MetaField::Compound (but it depends on how you normally like to do
things!). Take a look at the @ISA statements in all the EPrints::MetaField classes - some of them inherit from the Compund field already and
might do something similar to what you need? Cheers, John From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of Adam Field 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> Hi Adam
From:
<eprints-tech-bounces@ecs.soton.ac.uk> on behalf of <jens.vieler@id.uzh.ch> Hello List *** 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/ |
- Follow-Ups:
- Re: [EP-tech] Antwort: Re: Howto hide sub-fields in workflow
- From: John Salter <J.Salter@leeds.ac.uk>
- Re: [EP-tech] Antwort: Re: Howto hide sub-fields in workflow
- References:
- [EP-tech] Howto hide sub-fields in workflow
- From: <jens.vieler@id.uzh.ch>
- Re: [EP-tech] Howto hide sub-fields in workflow
- From: Adam Field <adam@adamfield.net>
- [EP-tech] Antwort: Re: Howto hide sub-fields in workflow
- From: <jens.vieler@id.uzh.ch>
- Re: [EP-tech] Antwort: Re: Howto hide sub-fields in workflow
- From: Adam Field <adam@adamfield.net>
- Re: [EP-tech] Antwort: Re: Howto hide sub-fields in workflow
- From: John Salter <J.Salter@leeds.ac.uk>
- [EP-tech] Howto hide sub-fields in workflow
- Prev by Date: [EP-tech] Antwort: Re: Antwort: Re: Howto hide sub-fields in workflow
- Next by Date: Re: [EP-tech] 'Doubling of divisions'
- Previous by thread: [EP-tech] EPrints/CRIS
- Next by thread: [EP-tech] DOI handling in orcid_support_advance
- Index(es):