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
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

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: Google [Bot], Yahoo [Bot] and 4 guests