EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #09169


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

Re: [EP-tech] Different templates or depending on URI


CAUTION: This e-mail originated outside the University of Southampton.

This is possible in v3.3.16 (and probably earlier 3.3 versions. Not sure about 3.4):
$c->{user_area_template} = 'user';

 

This will use a template file 'user.xml'.

 

Cheers,

John

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Jens Witzel via Eprints-tech
Sent: 16 January 2023 15:30
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Different templates or depending on URI

 

CAUTION: This e-mail originated outside the University of Southampton.

 

Another question: is there a ‘<epc:if expr…>’ way inside a template or a config in general, to let front and backend have different looks or let there be different templates? E.g. depending on «/cgi/users» as URI? Otherwise I’ll have to use dynamic_template.pl

 

Any hint is welcome
Jens

--
Jens Witzel
Zentrale Informatik
Universität Zürich
Stampfenbachstrasse 73
CH-8006 Zürich

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