You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am trying to create a plugin to add a new item type (slider) to the review form. However, the plugin does not seem to hook onto the review form properly. I attempted to use the Form::config::before hook, but it didn’t modify the form as expected. I expected the form to display a slider as an item type, but it doesn’t appear, and the plugin seems to be ignored on the review form pages.
To Reproduce
Steps to reproduce the behavior:
Install and activate the custom plugin.
Go to the journal’s Workflow settings > Review > Review Forms.
Attempt to create or edit a review form and add a new item.
Notice that the slider input field is not available as an option.
What application are you using?
OJS version 3.4.0-7
Additional information
Here’s the relevant code used for the hook registration in the plugin:
No errors or issues are logged, but the plugin does not affect the review form configuration.
Additionally, I’ve tried to access the OJS forum to post my question and seek further help, but I encountered an issue with logging in. The forum says it’s invite-only, and I’m unable to create an account. Could you please advise on how to access the forum or invite me so I can post my questions there?
The text was updated successfully, but these errors were encountered:
Describe the bug
I am trying to create a plugin to add a new item type (slider) to the review form. However, the plugin does not seem to hook onto the review form properly. I attempted to use the Form::config::before hook, but it didn’t modify the form as expected. I expected the form to display a slider as an item type, but it doesn’t appear, and the plugin seems to be ignored on the review form pages.
To Reproduce
Steps to reproduce the behavior:
What application are you using?
OJS version 3.4.0-7
Additional information
Here’s the relevant code used for the hook registration in the plugin:
HookRegistry::register('Form::config::before', [$this, 'addSliderToReviewForm']);
No errors or issues are logged, but the plugin does not affect the review form configuration.
Additionally, I’ve tried to access the OJS forum to post my question and seek further help, but I encountered an issue with logging in. The forum says it’s invite-only, and I’m unable to create an account. Could you please advise on how to access the forum or invite me so I can post my questions there?
The text was updated successfully, but these errors were encountered: