Skip to content

Commit

Permalink
tests for OPS
Browse files Browse the repository at this point in the history
  • Loading branch information
nuest committed Jul 31, 2023
1 parent 2002998 commit a107384
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions OptimetaGeoPlugin.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,11 @@ public function register($category, $path, $mainContextId = NULL)
HookRegistry::register('Templates::Submission::SubmissionMetadataForm::AdditionalMetadata', array($this, 'extendSubmissionMetadataFormTemplate'));

// Hooks for changing the article page
HookRegistry::register('Templates::Article::Main', array(&$this, 'extendArticleMainTemplate'));
HookRegistry::register('Templates::Article::Details', array(&$this, 'extendArticleDetailsTemplate'));
HookRegistry::register('ArticleHandler::view', array(&$this, 'extendArticleView')); //
HookRegistry::register('Templates::Preprint::Main', array(&$this, 'extendArticleMainTemplate'));
HookRegistry::register('Templates::Preprint::Details', array(&$this, 'extendArticleDetailsTemplate'));

HookRegistry::register('ArticleHandler::view', array(&$this, 'extendArticleView'));
//HookRegistry::register('PreprintHandler::view', array(&$this, 'extendArticleView'));

// Hooks for changing the issue page
HookRegistry::register('Templates::Issue::TOC::Main', array(&$this, 'extendIssueTocTemplate'));
Expand Down

0 comments on commit a107384

Please sign in to comment.