You are viewing the PKP Support Forum | PKP Home Wiki

Sorting announcements?

For discussion of ideas, functional requirements, interests regarding the Open Monograph Press.

Moderators: jmacgreg, John

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.

Sorting announcements?

Postby Radek » Tue Jul 01, 2014 6:59 am

Hi all,

just a question. Is there any way how to sort announcements? I mean, if there is a way to do some changes in code that will lead to provide users links (buttons) to sort announcements according to date or type. For example if there are some prepared sql queries that can be modified.

Thank you
Posts: 62
Joined: Mon Jun 23, 2014 3:24 am

Re: Sorting announcements?

Postby asmecher » Wed Jul 02, 2014 5:24 pm

Hi Radek,

The SQL queries for announcements are implemented in lib/pkp/classes/announcement/PKPAnnouncementDAO.inc.php (specifically in the getAnnouncementsNotExpiredByAssocId function).

Alec Smecher
Public Knowledge Project Team
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Re: Sorting announcements?

Postby Radek » Wed Jul 02, 2014 11:23 pm

Hi Alec,

thank you :)

Have a nice day
Posts: 62
Joined: Mon Jun 23, 2014 3:24 am

Return to OMP Discussion

Who is online

Users browsing this forum: No registered users and 2 guests