EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #05319
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Views Pagination
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: Views Pagination
- From: Adam Field <Adam.Field@jisc.ac.uk>
- Date: Wed, 13 Jan 2016 09:14:17 +0000
…but this feels like it would be a really hairy piece of work.
One thing you could look at is a local render_view_items function:
https://github.com/eprints/eprints/blob/3.3/lib/defaultcfg/cfg.d/views_render_items_example.pl
From: <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of Monica Wood <monica.wood@utas.edu.au>
Reply-To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk> Date: Wednesday, 13 January 2016 01:26 To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk> Subject: [EP-tech] Re: Views Pagination Thanks Adam,
Unfortunately separating the pages through multiple fields isn’t what we’re after, as each collection is slightly different.
We do have some alternate grouping on it already and the pagination is only for those collections that have a lot of records.
Do you know which .pm renders the views list pages? Maybe I can look at adding the EPrints::Paginate->paginate_list( $session, $basename, $list, %opts ) routine in there somehow, I’m just unsure which files to look at right now.
Cheers,
Monica Wood Tues: 9am – 5pm
Wed: 1pm – 5pm
Fri: 9am – 5pm
From: <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of Adam Field <af05v@ecs.soton.ac.uk>
Reply-To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk> Date: Tuesday, 12 January 2016 at 7:15 PM To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk> Subject: [EP-tech] Re: Views Pagination
So, I don't believe there is a way of pagination to a list page (i.e. the results themselves), but you can further break down the list by adding another field to the configuration (e.g. first collection, then year).
The best pages in the documentation for Browse Views are:
--
Adam Field Business Relationship Manager and Community Lead EPrints Services On 12 Jan 2016, at 05:24, Monica Wood <Monica.Wood@utas.edu.au> wrote:
Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under Company No. 5747339, VAT No. GB 197 0632 86. Jisc’s registered office is: One Castlepark, Tower Hill, Bristol, BS2 0JA. T 0203 697 5800. Jisc Services Limited is a wholly owned Jisc subsidiary and a company limited by guarantee which is registered in England under company number 2881024, VAT number GB 197 0632 86. The registered office is: One Castle Park, Tower Hill, Bristol BS2 0JA. T 0203 697 5800. |
- References:
- [EP-tech] Views Pagination
- From: Monica Wood <monica.wood@utas.edu.au>
- [EP-tech] Re: Views Pagination
- From: Adam Field <af05v@ecs.soton.ac.uk>
- [EP-tech] Re: Views Pagination
- From: Monica Wood <monica.wood@utas.edu.au>
- [EP-tech] Views Pagination
- Prev by Date: [EP-tech] Re: Views Pagination
- Next by Date: [EP-tech] Re: Suggested changes to EPrints 3 in 2016
- Previous by thread: [EP-tech] Re: Views Pagination
- Next by thread: [EP-tech] Subject based Views exclude top level
- Index(es):