You are viewing the PKP Support Forum | PKP Home Wiki

Index of published articles by author (order by issue date)

OJS development discussion, enhancement requests, third-party patches and plug-ins.

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

Forum rules
Developer Resources:

Documentation: The OJS Technical Reference and the OJS API Reference are both available from the OJS Documentation page.

Git: You can access our public Git Repository here. Comprehensive Git usage instructions are available on the wiki.

Bugzilla: You can access our Bugzilla report tracker here.

Search: You can use our Google Custom Search to search across our main website, the support forum, and Bugzilla.

Questions and discussion are welcome, but if you have a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a technical support question, try the OJS Technical Support subforum.

Index of published articles by author (order by issue date)

Postby vitbenes » Tue Nov 15, 2011 5:19 pm

I would like to order the index of published articles by author (templates\search\authorDetails.tpl). Is it possible to order these articles by the issue's (not article's) publication date (descending)? I would be grateful for suggestions how to modify the authorDetails.tpl file or the appropriate PHP file.

Thanks a lot

Posts: 6
Joined: Thu Oct 06, 2011 2:27 pm

Re: Index of published articles by author (order by issue date)

Postby mcrider » Mon Nov 28, 2011 5:18 pm

Hi Vit,

You'd have to modify the SQL in classes/article/AuthorDAO.inc.php in the getPublishedArticlesForAuthor -- You would have to join in the 'published_article' table and then order it by the published_article.date_published column.

Posts: 952
Joined: Mon May 05, 2008 10:29 am
Location: Vancouver, BC

Return to OJS Development

Who is online

Users browsing this forum: Google [Bot] and 2 guests