OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Table of Contents number of pages links

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

Table of Contents number of pages links

Postby gpnetin » Sun Feb 03, 2013 11:22 am

Greetings!

I have more than 300 articles under my Table of Contents (TOC) and it is such a long list that user needs to scroll down to browse it all.

Is there an option to customize the TOC page view controlling the number of articles that needs to be shown on each page? This feature is something similar to "Journal Setup>Looks>5.8 Lists" (Enter the maximum number of items that appear on each page of a list, and the number of pages links to display on each page).

Please advise and appreciate your assistance. Thanks a lot.

Using OJS 2.3.80, PHP5.2, MYSql.
gpnetin
 
Posts: 3
Joined: Sun Feb 03, 2013 10:27 am

Re: Table of Contents number of pages links

Postby gpnetin » Tue Feb 05, 2013 4:49 pm

In connection with the post above, it seems that below code from /templates/issue/archive.tpl calls for the "pagination"

Code: Select all
{if !$issues->wasEmpty()}
   {page_info iterator=$issues}    
   {page_links anchor="issues" name="issues" iterator=$issues}
{else}
   {translate key="current.noCurrentIssueDesc"}
{/if}


If Im correct, is there anyone who could advise how to modify and integrate it to /template/issue/view.tpl so that it creates number of "pagination" links to display on each page like below.

----------------
1 - 3 of 11 Items 1 2 3 > >>
----------------
or
-------------
4 - 6 of 11 Items << < 1 2 3 > >>
------------

Please... Thanks.
gpnetin
 
Posts: 3
Joined: Sun Feb 03, 2013 10:27 am


Return to OJS Technical Support

Who is online

Users browsing this forum: bibbib, Yahoo [Bot] and 6 guests