<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Thanks for your reply, but I actually that was one of the few other
options I already tried.<br>
<br>
It produces a slightly different error, but still no view list.<br>
<br>
Error:<br>
<font color="#3366ff">------------------------------------------------------------------<br>
---------------- EPrints System Error ----------------------------<br>
------------------------------------------------------------------<br>
Dataset eprint does not have a field 'document'<br>
------------------------------------------------------------------<br>
EPrints System Error inducing stack dump<br>
at /usr/share/eprints3/bin/../perl_lib/EPrints.pm line 146<br>
EPrints::abort() called at
/usr/share/eprints3/bin/../perl_lib/EPrints/Utils.pm line 674<br>
EPrints::Utils::field_from_config_string('EPrints::DataSet=HASH(0x37d5a58)',
'document.language') called at
/usr/share/eprints3/bin/../perl_lib/EPrints/Update/Views.pm line
2137<br>
EPrints::Update::Views::menus_fields('EPrints::Update::Views=HASH(0x33049a0)')
called at
/usr/share/eprints3/bin/../perl_lib/EPrints/Update/Views.pm line
2053<br>
EPrints::Update::Views::fieldlist_sizes('EPrints::Update::Views=HASH(0x33049a0)',
'ARRAY(0x6213ea0)', 0) called at
/usr/share/eprints3/bin/../perl_lib/EPrints/Update/Views.pm line
2238<br>
EPrints::Update::Views::update_view_by_path('EPrints::Update::Views=HASH(0x33049a0)',
'on_write', 'CODE(0x33046d0)', 'langid', 'en', 'do_menus', 1,
'do_lists', 1, ...) called at bin/generate_views line 204</font><br>
<br>
Any other ideas? I would really love to let my visitors be able to
browse or sort by language<br>
<br>
<div class="moz-cite-prefix">On 17-07-2014 11:49, John Salter wrote:<br>
</div>
<blockquote
cite="mid:EMEW3|4c49aab74add64943c4929aedc03370cq6GAp514eprints-tech-bounces|ecs.soton.ac.uk|7154BCBB8909D642AE6F44CA713DBC2009A4D06FB10F@HERMES7.ds.leeds.ac.uk"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">**I
haven’t tried this, it’s a guess**<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">‘document.language’
might work..?<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"
lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"
lang="EN-US"> <a class="moz-txt-link-abbreviated" href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">eprints-tech-bounces@ecs.soton.ac.uk</a>
[<a class="moz-txt-link-freetext" href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">mailto:eprints-tech-bounces@ecs.soton.ac.uk</a>] <b>On
Behalf Of </b>Jacob Wenzel<br>
<b>Sent:</b> 17 July 2014 09:59<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a><br>
<b>Subject:</b> [EP-tech] Browse view by document
language.<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I want to create a new browse view based by
document language, but I can't figure out what field to call,
and I can't find any references in the documentation. I keep
getting variations of the error: Dataset eprint does not have
a field 'language'<br>
<br>
My code looks like this:<br>
<br>
{<br>
id => "doclang",<br>
menus => [<br>
{<br>
fields => [ "language" ],<br>
new_column_at => [10,10],<br>
}<br>
],<br>
order => "-date/title",<br>
variations => [<br>
"creators_name;first_letter",<br>
"date",<br>
"projects",<br>
"DEFAULT" ],<br>
},<br>
<br>
I have also tried document.language, and a few other options,
that seemed logical.<br>
<br>
Which field should I call? I found an old thread on the
subject with a hack that might work, but the thread also
mentioned, that the feature was on the road map, so I guess it
would be implemented by know.<br>
<br>
Help would be greatly appreciated.<o:p></o:p></p>
<div>
<p class="MsoNormal">-- <o:p></o:p></p>
<p><strong><span style="color:#999999">Med venlig hilsen/Best
regards</span></strong><span style="color:#999999"><o:p></o:p></span></p>
<p><strong><span style="color:#999999">JACOB WENZEL</span></strong><b><span
style="color:#999999"><br>
<strong>Projektleder</strong></span></b><span
style="color:#999999"><o:p></o:p></span></p>
<p><strong><span style="color:#999999">ENERGIAKADEMIET</span></strong><span
style="color:#999999"><br>
Strandengen 1<br>
8305 SAMSØ<br>
+45 60 61 15 97<br>
<a moz-do-not-send="true"
href="mailto:jw@energiakademiet.dk"><span
style="color:#999999;text-decoration:none">jw@energiakademiet.dk</span></a><br>
<a moz-do-not-send="true" href="http://energiakademiet.dk"><span
style="color:#999999;text-decoration:none">www.energiakademiet.dk</span></a><o:p></o:p></span></p>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">*** Options: <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a class="moz-txt-link-freetext" href="http://www.eprints.org/tech.php/">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a class="moz-txt-link-freetext" href="http://wiki.eprints.org/">http://wiki.eprints.org/</a>
*** EPrints developers Forum: <a class="moz-txt-link-freetext" href="http://forum.eprints.org/">http://forum.eprints.org/</a>
</pre>
</blockquote>
<br>
</body>
</html>