Dear @MarkAGregory,
Login your journal select Users & Roles select or click Site Access Options click User Registration (The Journal Manager will register all user accounts. Editors or Section Editors may register user accounts for reviewers.)
Hi, I would like hide button “New submission” only for 2 journals, is it possible?
An example: if($currentJournal->getId() == 100 ) hide button “New Submission”
I tried to modify:
/lib/pkp/templates/dashboard/index.tpl
If you want delete “new submission”, you can edit this file: pages/dashboard/DashboardHandler.inc.php and delete “submissions” from construct function ?
I would like to do exactly as you mentioned in the image above = do not show the ‘New Submission’ button next to the “filters” button. (Of course I could use some CSS to do this, but I want to understand more, because I the end I would like to actually replace this by another button).
I don’t understand your suggestion about pages/dashboard/DashboardHandler.inc.php. In this file I don’t see what I can do in the ‘__construct’ function (see here)
I think this “new submission” button is coded into the Vue.js component that is called in the dashboard/index.tpl file, so it’s not so easy to modify. Or maybe I miss something?
REMARK: I am using the official ojs 3.1.2-1, and I just noticed that the versions of pages/dashboard/DashboardHandler.inc.php and templates/dashboard/index.tpl in the current github are quite different from what I have…
[quote=“san, post:10, topic:51235”]
Hi @san,
can you comment this code: from lib/ui-library/src/components/ListPanel/submissions/SubmissionsListPanel.vue