<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello,<br>
<br>
You might be able to use "filters" in a view to achieve that:<br>
<br>
<br>
<tt> filters => [</tt><tt><br>
</tt><tt> { meta_fields => [ "type" ],
value => "article book monograph", describe => 0 }</tt><tt><br>
</tt><tt> ],</tt><br>
<br>
Or a variation of the above.<br>
<br>
Seb.<br>
<br>
PS: "Reperage" ~ "Feuilletage" plutot?<br>
<br>
On 19/02/14 17:12, Fotsing, Jean Lazare wrote:<br>
</div>
<blockquote
cite="mid:B4D3F55E6A1DBD4780C3AB2211E70FBEFE2040@Gin.iaf.inrs.ca"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<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:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
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;}
pre
        {mso-style-priority:99;
        mso-style-link:"Pr\00E9format\00E9 HTML Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Texte de bulles Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-US;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.PrformatHTMLCar
        {mso-style-name:"Pr\00E9format\00E9 HTML Car";
        mso-style-priority:99;
        mso-style-link:"Pr\00E9format\00E9 HTML";
        font-family:"Courier New";
        mso-fareast-language:FR-CA;}
span.TextedebullesCar
        {mso-style-name:"Texte de bulles Car";
        mso-style-priority:99;
        mso-style-link:"Texte de bulles";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.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 lang="EN-CA">Hi all, <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"> Just below is the code
I have defined in views.pl in order to display the types of
documents.<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black;mso-fareast-language:FR-CA"
lang="EN-CA">{<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black;mso-fareast-language:FR-CA"
lang="EN-CA"> id=>"doctype",
<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black;mso-fareast-language:FR-CA"
lang="EN-CA"> allow_null => 1,<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black;mso-fareast-language:FR-CA"
lang="EN-CA"> hideempty => 1,<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black;mso-fareast-language:FR-CA"
lang="EN-CA"> menus => [
<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black;mso-fareast-language:FR-CA"
lang="EN-CA"> {
<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black;mso-fareast-language:FR-CA"
lang="EN-CA"> fields => ["type;quiet"],
<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black;mso-fareast-language:FR-CA"
lang="EN-CA"> },<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black;mso-fareast-language:FR-CA"
lang="EN-CA">
<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black;mso-fareast-language:FR-CA"
lang="EN-CA"> ],
<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black;mso-fareast-language:FR-CA"
lang="EN-CA"> order=>"-date",<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black;mso-fareast-language:FR-CA"
lang="EN-CA"> variations => [<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black;mso-fareast-language:FR-CA"
lang="EN-CA">
"creators_name;first_letter",<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black;mso-fareast-language:FR-CA"
lang="EN-CA"> "divisions",<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black;mso-fareast-language:FR-CA"
lang="EN-CA"> "thesis_type",<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black;mso-fareast-language:FR-CA"
lang="EN-CA"> "date",<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black;mso-fareast-language:FR-CA"
lang="EN-CA"> "DEFAULT"
<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black;mso-fareast-language:FR-CA"
lang="EN-CA"> </span><span
style="font-size:10.0pt;font-family:"Courier
New";color:black;mso-fareast-language:FR-CA">],<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black;mso-fareast-language:FR-CA">
<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black;mso-fareast-language:FR-CA"> },<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">Here is the display:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:FR-CA"><img
id="Image_x0020_1"
src="cid:part1.07020507.01090207@ecs.soton.ac.uk"
height="166" width="523"></span><span lang="EN-CA"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">There are 5 types of
documents. I would very much like to filter and display
only some types of these documents, such as Article, Livre,
Monographie.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">Please, just tell/show
me which pieces I should insert into the above code section
in order to reach my goal.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">John<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<br>
</div>
</blockquote>
<br>
</body>
</html>