EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #09156
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Problem template on views
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Problem template on views
- From: Jens Witzel <jens.witzel@uzh.ch>
- Date: Mon, 9 Jan 2023 08:29:06 +0000
CAUTION: This e-mail originated outside the University of Southampton.
Hi list Does anyone have experience with assigning templates to views? Please have a look at the following example views.pl. I am trying to set templates and it works for direct views like id=divisions, but not for id=type: $c->{browse_views} = [ { id => "divisions", allow_null => 1, menus => [ { fields => [ "divisions" ] }, ], order => "-name/title", citation => "screen", variations => [ "type", ], template => 'views', }, { id=>"type", menus=>[ { fields=>[ "type" ], hideempty=>1, }, { fields=>[ "name", "title" ], hideempty=>1, mode => "sections", open_first_section => 1, group_range_function => "EPrints::Update::Views::cluster_ranges_30", grouping_function => "EPrints::Update::Views::group_by_a_to_z", new_column_at => [ 0 ], }, ], template => 'views', }, ]; Thx --
|
- Follow-Ups:
- [EP-tech] Problem template on views
- From: Jens Witzel <jens.witzel@uzh.ch>
- [EP-tech] Problem template on views
- References:
- [EP-tech] Problem template on views
- From: Jens Witzel <jens.witzel@uzh.ch>
- [EP-tech] Problem template on views
- Prev by Date: [EP-tech] Login is not showing after successfull installation
- Next by Date: Re: [EP-tech] Problem template on views
- Previous by thread: [EP-tech] EPrints/CRIS
- Next by thread: [EP-tech] DOI handling in orcid_support_advance
- Index(es):