-
Notifications
You must be signed in to change notification settings - Fork 448
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add site-level announcements to OJS #9253
Comments
The following PRs add support for announcements at the site level to the #9255 This feature is hidden behind a config flag for 3.4.x and requires a migration to be run manually. Follow these steps to test:
Notes:
|
Reviews added -- thanks, @NateWr! |
Thanks @asmecher! I've made the change from Can you review this again when you have a moment? |
Looks good, @NateWr -- would you like this merged now, or would you rather do the porting to |
@asmecher thanks, Jarda resolved that quickly yesterday. I've now got |
* pkp/pkp-lib#9253 Add site-level announcements * pkp/pkp-lib#9253 Use URL in announcement properties
* pkp/pkp-lib#9253 Add site-level announcements * pkp/pkp-lib#9253 Use URL in announcement properties * pkp/pkp-lib#9253 Fix AnnouncementsListPanel after rebase
* #9253 Add site-level announcements * #9253 Fix type error in announcement helper function * #9253 Use shorter syntax to filter array * #9253 Use null to associate announcements with the site * #9253 Move shared announcements template into pkp-lib * #9253 Fix URL in announcement API responses * #9253 Add featured image to site announcements * #9253 Fix error when adding announcement * #9253 Fix unwanted file deletion when editing announcement * #9253 Add image to default announcement templates * #9253 Make context nullable in announcements install migration * #9253 Require User when handling announcement image upload * Fix exception name * Refactor to new Controllers * #9253 Fix duplicate method name after rebase * #9253 Fix announcements API handler after rebase * #9253 Check image validity when creating announcement
All merged or cherry-picked, @NateWr! Can this be closed? |
* pkp#9253 Add site-level announcements * pkp#9253 Fix type error in announcement helper function * pkp#9253 Use shorter syntax to filter array * pkp#9253 Use null to associate announcements with the site * pkp#9253 Move shared announcements template into pkp-lib * pkp#9253 Fix URL in announcement API responses * pkp#9253 Add featured image to site announcements * pkp#9253 Fix error when adding announcement * pkp#9253 Fix unwanted file deletion when editing announcement * pkp#9253 Add image to default announcement templates * pkp#9253 Make context nullable in announcements install migration * pkp#9253 Require User when handling announcement image upload * Fix exception name * Refactor to new Controllers * pkp#9253 Fix duplicate method name after rebase * pkp#9253 Fix announcements API handler after rebase * pkp#9253 Check image validity when creating announcement
Describe the problem you would like to solve
Multi-journal instances of OJS want to be able to add announcements at the site-level.
Describe the solution you'd like
Add announcements to the admin settings area, so that administrators can add, edit and delete announcements that appear on the site-wide homepage.
The ability to view the latest announcements will be added to the homepage in the default theme. Each site-level announcement will have its own page.
Who is asking for this feature?
This is part of sponsored development work for a PKP|PS client, UNIANDES, who will use this feature in their custom theme.
Implementation
This feature is hidden behind a config flag for 3.4.x and requires a migration to be run manually. Follow these steps to test:
config.inc.php
file.Notes:
date_posted
in descending order.PRs:
stable-3_4_0:
#9255
pkp/ui-library#283
pkp/ojs#4023
main:
#9260
pkp/ui-library#284
pkp/ojs#4028
The text was updated successfully, but these errors were encountered: