OJS OCS OMP OHS

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
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.

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

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

Hi,
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

Vit
vitbenes
 
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.

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


Return to OJS Development

Who is online

Users browsing this forum: No registered users and 0 guests