[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[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 at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Jens Witzel via Eprints-tech
Sent: 16 January 2023 15:30
To: eprints-tech at 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 at uzh.ch<mailto:jens.witzel at uzh.ch>
phone: +41 44 63 56777
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.zi.uzh.ch%2F&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4c0e5109dd9e45bb32bf08daf7d7db0b%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638094803703199461%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=GouHKelzQzkV91ZctHqvn%2BAQQJEcG7ztxOr24%2FL4JAg%3D&reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.zi.uzh.ch%2F&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4c0e5109dd9e45bb32bf08daf7d7db0b%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638094803703199461%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=GouHKelzQzkV91ZctHqvn%2BAQQJEcG7ztxOr24%2FL4JAg%3D&reserved=0>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20230116/adc17160/attachment.html