Hi Yuri,
Thanks a lot.This is something I have tried.The problem with this is that the first page of view looks like as if one were browsing by "thesis_type" rather than by "subjects" but the view is actually under the heading "subjects".In the first view I was trying to show only the portion of subject tree that has theses in its branches and count at the top be of theses only and not of everything that is in the repository.Is there some way of using filter or something where one could say "type is thesis".
BTW when you say link only the one that I want to be showed, what do you mean?Any example!!
Thanks.
Ranju
NUIM,Ireland.
----- Original Message -----
From: Yuri <yurj@alfa.it>
Date: Thursday, September 25, 2008 7:14 pm
Subject: Re: [EP-tech] views for thesis only
To: "EPrints.org Technical List" <eprints-tech@ecs.soton.ac.uk>
> *** http://www.eprints.org/tech.php/id/%3CEMEW-
> k8OFjKa7ab2e8a91f836568ed5e520c5a09d4e-48DBA3F9.4020604%40alfa.it%3E
> *** EPrints community wiki - http://wiki.eprints.org/
>
> Ranju Upadhyay ha scritto:
> > Hi list,
> >
> > we want to have separate views created for eprints of
> type thesis
> > which can be browsed under several headings like type,year,
> subjects
> > etc.However I am not able to create a thesis only view
> to browse by
> > subjects.For some reason all the subjects that are there in
> the
> > repository seem to be getting listed under this view instead
> of only
> > the ones that have thesis, in other words this view is the
> same as the
> > browse by subject view in index page.Would anyone know how to
> filter
> > for thesis only?
> >
> > Here is the chunk of code that I have in my views.pl file with
> which I
> > was hoping to get this:
> >
> > {
> id=>"ethesis/subjects",> allow_null=>0,
> > fields=>"subjects",
> > subheadings=>"thesis_type",
> > order=>"title",
> > nolink=>1,
> > heading_level=>2,
> > hideempty=>1,
> > },
> fields -> "thesis_type, subjects"
>
> then link only the one you want to be showed.
>