EPrints Technical Mailing List Archive
Message: #05821
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Template action depending on a documents URL
- To: (eprints-tech@ecs.soton.ac.uk) <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Template action depending on a documents URL
- From: jens.vieler@id.uzh.ch
- Date: Tue, 12 Jul 2016 15:45:08 +0200
Dear List,
i want to show (or not) content, ruled by a template, depending on the documents URL. Specific problem: the default template is serving a search
input field, which doesn't make sense for the search itself. So i want to exclude this form if i am already inside simple od advanced search.
Does anybody could give me a 3-line code example of howto deal with <epc:if...> in context with the url of a document?
Best regards
Jens
--
Jens Vieler
Informatikdienste
Universität Zürich
Stampfenbachstrasse 73
CH-8006 Zürich
mail: jens.vieler@id.uzh.ch
phone: +41 44 63 56777
http://www.id.uzh.ch
- Prev by Date: Re: [EP-tech] problem with generate_views
- Next by Date: [EP-tech] How to find out, which ist the current URL of a page?
- Previous by thread: [EP-tech] problem with generate_views
- Next by thread: [EP-tech] How to find out, which ist the current URL of a page?
- Index(es):