OJS OCS OMP OHS

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
Please feel free to post any questions or start any discussion about OMP here. We'll let you know via this forum when OMP is ready to download and test. You may also want to keep an eye on our OMP page.

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
Regards
Radek
Radek
 
Posts: 36
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).

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 8597
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
Radek
Radek
 
Posts: 36
Joined: Mon Jun 23, 2014 3:24 am


Return to OMP Discussion

Who is online

Users browsing this forum: No registered users and 0 guests