[EP-tech] Re: Browse by document type - How to filter and display only some types of documents // It's OK now!

Fotsing, Jean Lazare JeanLazare.Fotsing at iaf.inrs.ca
Fri Feb 21 15:40:42 GMT 2014


Thanks a lot for helping me. The filters does the job as expected. Only the selected documents are now disclosed.

I will come back soon with some other Eprints related questions.




"Reperage" ~ "Feuilletage" plutot?.
Rep : I am still scanning the entire repository here. For sure, I will have to review several things.

De : eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] De la part de Sebastien Francois
Envoyé : 21 février 2014 04:42
À : eprints-tech at ecs.soton.ac.uk
Objet : [EP-tech] Re: Browse by document type - How to filter and display only some types of documents


You might be able to use "filters" in a view to achieve that:

                filters => [
                        { meta_fields => [ "type" ], value => "article book monograph", describe => 0 }

Or a variation of the above.


PS: "Reperage" ~ "Feuilletage" plutot?

On 19/02/14 17:12, Fotsing, Jean Lazare wrote:
Hi all,
 Just below is the code I have defined in views.pl in order to display the types of documents.
          allow_null => 1,
          hideempty => 1,
             menus => [
                 fields => ["type;quiet"],

                       variations => [


Here is the display:

[cid:image001.png at 01CF2EF1.29B27130]
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.
Please, just tell/show  me which pieces I should insert into the above code section in order to reach my goal.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20140221/0b382ee0/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 8584 bytes
Desc: image001.png
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20140221/0b382ee0/attachment-0001.png 

More information about the Eprints-tech mailing list