Hi, i’d add a tab in the published issue (“Édito”)
Code for the template
<li><a href="{url router=$smarty.const.ROUTE_COMPONENT op="issueToc" issueId=$issueId}">{translate key="issue.toc"}</a></li>
<li><a href="{url router=$smarty.const.ROUTE_COMPONENT op="editIssueEdito" issueId=$issueId}">{translate key="plugins.themes.socNeuro.issues.issueEdito"}</a></li>
<li><a href="{url router=$smarty.const.ROUTE_COMPONENT op="editIssueData" issueId=$issueId}">{translate key="editor.issues.issueData"}</a></li>
<li><a href="{url router=$smarty.const.ROUTE_COMPONENT op="issueGalleys" issueId=$issueId}">{translate key="editor.issues.galleys"}</a></li>
So, now i can add an op editIssueEdito in classes/controllers/grid/issues/IssueGridHandler.inc.php…
But what is the correct way to route this to a plugin ?
What I tried to resolve the issue:
Hooks (fetch, issue) and including my own define for smarty.const resulting in this error : Cannot instantiate requested router. Routers must belong to the core package and be of type “PKPRouter”.
Even with a class extending PKPRouter.
Application Version : OJS 3.3.0.10