EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #07950
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] ScreenProcessor.pm and Admin Screen Messages
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] ScreenProcessor.pm and Admin Screen Messages
- From: John Salter <J.Salter@leeds.ac.uk>
- Date: Tue, 13 Aug 2019 11:38:44 +0000
All good :o)
Although I probably should have said 'use a phrase' - and linked to a phrase where the link URL is inserted via a pin e.g.
https://github.com/eprints/eprints/blob/2d42b2be54004bf3db6881a6d893d39c7a7f909f/lib/lang/en/phrases/system.xml#L3392-L3394
and
Cheers,
John
From: eprints-tech-bounces@ecs.soton.ac.uk <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of James Kerwin via Eprints-tech <eprints-tech@ecs.soton.ac.uk>
Sent: 13 August 2019 09:32 To: John Salter <J.Salter@leeds.ac.uk> Cc: eprints-tech@ecs.soton.ac.uk <eprints-tech@ecs.soton.ac.uk> Subject: Re: [EP-tech] ScreenProcessor.pm and Admin Screen Messages Ahhh thanks John.
I'm such a fool! I already had the code I needed from something I did the other month. I just thought I needed to do something different because I was trying to add $frag to add_message rather than just returning it to be added to $page.
There are probably a few unnecessary Perl variables here and I need to replace certain things with their actual parts, but it works:
What a relief that I don't need to go change scary things!
Thanks,
James
On Tue, Aug 13, 2019 at 8:16 AM John Salter <J.Salter@leeds.ac.uk> wrote:
|
- Follow-Ups:
- Re: [EP-tech] ScreenProcessor.pm and Admin Screen Messages
- From: John Salter <J.Salter@leeds.ac.uk>
- Re: [EP-tech] ScreenProcessor.pm and Admin Screen Messages
- References:
- [EP-tech] ScreenProcessor.pm and Admin Screen Messages
- From: James Kerwin <jkerwin2101@gmail.com>
- Re: [EP-tech] ScreenProcessor.pm and Admin Screen Messages
- From: John Salter <J.Salter@leeds.ac.uk>
- Re: [EP-tech] ScreenProcessor.pm and Admin Screen Messages
- From: James Kerwin <jkerwin2101@gmail.com>
- Re: [EP-tech] ScreenProcessor.pm and Admin Screen Messages
- From: John Salter <J.Salter@leeds.ac.uk>
- [EP-tech] ScreenProcessor.pm and Admin Screen Messages
- Prev by Date: Re: [EP-tech] Differences of Date
- Next by Date: Re: [EP-tech] how to display total number publications in eprints reporsitory
- Previous by thread: [EP-tech] EPrints/CRIS
- Next by thread: [EP-tech] DOI handling in orcid_support_advance
- Index(es):