OJS development discussion, enhancement requests, third-party patches and plug-ins.
Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher
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.
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
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: No registered users and 0 guests