Hello PKP
We are using OJS 3.3.0.11 and we want to default uncheck Send an email about this to all registered users (Attachment). So kindly suggest me the location of page and folder in OJS that we edit.
During issue publish, I want to default uncheck " Send an email about this to all registered users."
Hello @shantanusingh , how are you?
Can you test this?
File:
lib/pkp/classes/components/forms/announcement/PKPAnnouncementForm.inc.php
Edit this:
$this->addField(new FieldOptions('sendEmail', [
'label' => __('common.sendEmail'),
'options' => [
[
'value' => true,
'label' => __('notification.sendNotificationConfirmation')
]
]
]));
By:
$this->addField(new FieldOptions('sendEmail', [
'label' => __('common.sendEmail'),
'options' => [
[
'value' => false,
'label' => __('notification.sendNotificationConfirmation')
]
]
]));
Caution, i don’t know if it’s the solution.
Thanks
Thanks for your reply
This is not working.
Sorry @shantanusingh , i was wrong.
Can you test this?
Edit
templates/controllers/grid/pubIds/form/assignPublicIdentifiersForm.tpl
Search the line:
{fbvElement type="checkbox" name="sendIssueNotification" id="sendIssueNotification" checked=true ..........................
By:
{fbvElement type="checkbox" name="sendIssueNotification" id="sendIssueNotification" checked=false ...................
Thanks
1 Like