[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] Problem template on views
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
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%7C7c487fa08fb84d85d71e08daf21b9352%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638088497641976733%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=0xsq943bwQY5r6TmeclvSP08OcfXSxVkYd3MySDw%2BDM%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20230109/70cdb0c2/attachment-0001.html