[OJS] Pagination footer and/or filter/search header for Archives page

Describe the problem you would like to solve
We have a journal, which has a lot of archived issues (137 issues, and that will grow, when we upload the whole archive back to 1935!). On the Archives page these are sliced into several pages with a “Next” and “Previous” link. For a user there is no opportunity to jump to a specific page, e.g. page 3, or search/filter, e.g. for all issues of a specific year.

Describe the solution you’d like
It would improve the usability of the Archives page, if there would be …

  1. … a footer, where the user can jump to a specific “page” (see example of pagination footer below), or a specific range of results (e.g. “1-25 26-50 51-100 101-137”).
  2. … a filter or search header at the top of the page, where the user can filter the Archives page. Something similar to the CrossRef XML Export Plugin’s “Search” on the top of the Articles section (see screenshot below).

Who is asking for this feature?
The journal editors, and authors asked for this.

Additional information

  1. Example of a pagination footer:
    proxy-image

  2. Example of a filter header as in the backend of CrossRef XML Export Plugin’s “Search”:
    Bildschirmfoto 2022-10-11 um 08.05.32

Thanks for your attention
Tobias

Hi @twa

We are trying to make all first “Feature Request” posts follow the same structure. We hope this will make it easier to understand the requests and, at the same time, ensure that no relevant information is missing.

Could you please edit your post following this template?

Describe the problem you would like to solve
Example: Our editors need a way to […]

Describe the solution you’d like
Tell us how you would like this problem to be solved.

Who is asking for this feature?
Tell us what kind of users are requesting this feature. Example: Journal Editors, Journal Administrators, Technical Support, Authors, Reviewers, etc.

Additional information
Add any other information or screenshots about the feature request here.

You can use this post as a reference.

Best regards,
m.

@marc
Thanks for your kind reminder. I changed the post accordingly.

Tobias

1 Like

Hi @marc I was asking if the PKP team would implement these features on a coming soon release?

I’m using OJS 3.3.0.15 with bootstrap3 theme, I need to change the pagination markup in the archives page, from the previous and next buttons to numbered pages.

I have made some refactoring and found the code of templates/controllers/grid/feature/gridPaging.tpl, which I supposed it’s the code used on Grid Pagination as Native XML Plugin > Export Issues Tab and Crossref XML Export Plugin.

<div class="gridPaging">
	<div class="gridItemsPerPage">
		{translate key="common.itemsPerPage"}:<select class="itemsPerPage"></select>
	</div>
	<div class="gridPages">
		{page_info iterator=$iterator itemsPerPage=$currentItemsPerPage}
		{page_links name=$grid->getId() iterator=$iterator}
	</div>
</div>

So my questions are:

Is it possible to use the code of templates/controllers/grid/feature/gridPaging.tpl instead of templates/frontend/components/pagination.tpl inside the issueArchive.tpl?

If it’s true, what files I need to modify to adapt this on the boostrap3 theme?

I have nothing more to say, I thank you in advance.

Hi @juancure

I don’t know if this feature is included in the roadmap, but your questions fit better in the support forum than in the feature request one, isn’t it?

Please, edit your comment and recreate as a support forum post where PKP dev fellows could help you better.

Cheers,
m.

You might consider this thread: Group archive issues by year which has some pointers.

1 Like

Hi @marc sorry I thought it would be better ask directly in this topic, but you are right my doubts should be better in the pkp support section. Thanks.

1 Like

Thanks @mpbraendle by sharing this topic, just at first I was searching some kind of grouping the issues in the archive page, I will reviewing it.