EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #08111
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Current page URL
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] Current page URL
- From: "Alan.Stiles" <alan.stiles@open.ac.uk>
- Date: Tue, 4 Feb 2020 14:01:49 +0000
In answer to my own question : $repository->current_url(); Thanks John! Alan -----Original Message----- From: eprints-tech-bounces@ecs.soton.ac.uk <eprints-tech-bounces@ecs.soton.ac.uk> On Behalf Of Alan.Stiles via Eprints-tech Sent: 04 February 2020 12:09 To: eprints-tech@ecs.soton.ac.uk Subject: [EP-tech] Current page URL CAUTION: This mail comes from outside the University. Please consider this before opening attachments, clicking links, or acting on the content. EPrints 3.3.15+ Is there a way to get the current page URL to include as e.g. a dynamic pin in the template? I'd much rather not rely on Javascript to populate it once the page has loaded. Current relative path would be fine too. Cheers, Alan -- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302). The Open University is authorised and regulated by the Financial Conduct Authority in relation to its secondary activity of credit broking. *** 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%7Ceprints-tech%40ecs.soton.ac.uk%7C91ec0f3998cc47ba379408d7a97ac9b3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=KqqFpek0Annb%2FGX24FxngvRM3UQAM2NMn21hFeNalZI%3D&reserved=0 *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C91ec0f3998cc47ba379408d7a97ac9b3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=XSLKuikzdlXfFhM%2B30JZEv4TWTVx%2B45yekao3TWKmtY%3D&reserved=0
- Follow-Ups:
- Re: [EP-tech] Current page URL
- From: "Alan.Stiles" <alan.stiles@open.ac.uk>
- Re: [EP-tech] Current page URL
- References:
- [EP-tech] Current page URL
- From: "Alan.Stiles" <alan.stiles@open.ac.uk>
- Re: [EP-tech] Current page URL
- From: "Alan.Stiles" <alan.stiles@open.ac.uk>
- [EP-tech] Current page URL
- Prev by Date: [EP-tech] Current page URL
- Next by Date: [EP-tech] ORCID support advance plugin -> contributor names
- Previous by thread: [EP-tech] EPrints/CRIS
- Next by thread: [EP-tech] DOI handling in orcid_support_advance
- Index(es):