⬇️ Install package: OMP 3.5 — or browse all Releases.
A generic plugin for Open Monograph Press (OMP) that brings back the static Editorial Team page of earlier versions: the page shows the free text configured in the press settings instead of the dynamic listing OMP 3.5 builds from user roles — without patching OMP core.
Developed and maintained by OJSBR. See the Credits & authorship section below.
| OMP version | Branch | Plugin release |
|---|---|---|
| OMP 3.5.x | stable-3_5_0 (default) |
1.0.0.1 |
Looking for the OJS edition? It lives in its own repository,
OJSBR/staticEditorialTeam. This repository is the
same plugin with the terminology of a book publisher instead of a journal. Everything it hooks
into lives in pkp-lib, shared by both applications, so the behaviour is identical.
Up to 3.4, the Editorial Team page displayed a rich-text field edited in
Settings → Press → Masthead (editorialTeam).
Version 3.5 replaced that page with a dynamic one, assembled from the users and roles
flagged for the masthead. The free-text field was renamed to editorialHistory
("Editorial History") by the I9937_EditorialTeamToEditorialHistory migration, and now only
shows at the bottom of the new Editorial History page.
With the plugin enabled, the Editorial Team page (/about/editorialMasthead — same URL and
same navigation menu item as stock 3.5) shows the press's free text again, instead of the
dynamic user listing. The content keeps being edited in the very same place,
Settings → Press → Masthead; the plugin renames that field's label back to
"Editorial Team" and adjusts its description, so it is clear where the text is published.
- Download the release (or clone the branch).
- Install via Settings → Website → Plugins → Upload A New Plugin, or extract the folder
into
plugins/generic/so you getplugins/generic/staticEditorialTeam/. - Enable Static Editorial Team under the Generic plugins list.
Keep the folder name. PKP 3.5 derives the plugin's class namespace from its installation directory, so the folder must be
staticEditorialTeam— theOmpsuffix belongs to the repository name only. The release tarball already unpacks with the right name.
Open the plugin settings. Every option is per press:
| Option | Default | Effect |
|---|---|---|
| Static content only | ✔ | Behaviour of earlier versions: only the press's text. |
| Static content, then the dynamic list | — | Text first, automatic user listing below it. |
| Dynamic list, then the static content | — | Automatic listing first, text below it. |
| Display last year's peer reviewers | ✖ | Keeps the 3.5 reviewers section. |
| Display the link to Editorial History | ✖ | Keeps the paragraph linking to /about/editorialHistory. |
| Do not repeat the content on the Editorial History page | ✔ | Avoids the same text on both pages. |
| Rename the field in the press settings | ✔ | Shows the field as "Editorial Team" in the admin form. |
- A
TemplateManager::displayhook swaps only the template name — that variable is passed by reference — so headers, the session cookie and the compile id are still handled by OMP. - The plugin template renders
editorialHistoryand, depending on the mode, the same markup the core template uses (roles, users, ORCID, reviewers), so themes keep working. - The settings field is relabelled through the
Form::config::afterhook on themastheadform, which is narrower than overriding the locale key globally. - Nothing is written to the database: the content is the context setting OMP already stores.
Ships in 7 languages: English, Portuguese (Brazil), Portuguese (Portugal), Spanish, French,
Italian and German. Note the French folder is locale/fr — PKP 3.5 has no fr_FR locale, so a
fr_FR folder would never be loaded.
Verified on OMP 3.5.0.4 against a live press: with the plugin enabled in staticOnly mode,
/about/editorialMasthead serves the press's free text (3,400+ characters, in three locales) and
the dynamic role listing is suppressed, with the theme's header, breadcrumbs and footer intact.
- Developed and maintained by OJSBR — original plugin.
- Distributed under the GNU GPL v3.
Issues and pull requests are welcome. Please target the branch matching the application and
version you are working against. See CONTRIBUTING.md.
Distributed under the GNU GPL v3. See LICENSE and docs/COPYING.
Plugin genérico para o Open Monograph Press (OMP) que restabelece a página estática de Equipe Editorial das versões anteriores: a página volta a exibir o texto livre configurado nas definições da editora, no lugar da lista dinâmica que o OMP 3.5 monta a partir dos papéis de usuário — sem alterar o núcleo do OMP.
Desenvolvido e mantido pela OJSBR. Veja a seção Créditos e autoria abaixo.
| Versão do OMP | Branch | Release do plugin |
|---|---|---|
| OMP 3.5.x | stable-3_5_0 (padrão) |
1.0.0.1 |
Procurando a versão de OJS? Ela tem repositório próprio,
OJSBR/staticEditorialTeam. Este repositório é o
mesmo plugin com a terminologia de editora de livros no lugar da de revista. Tudo em que ele se
engancha está no pkp-lib, comum às duas aplicações, então o comportamento é idêntico.
Até a versão 3.4, a página Equipe Editorial exibia um texto livre editado em
Configurações → Editora → Expediente (campo editorialTeam).
Na 3.5 essa página passou a ser dinâmica, montada automaticamente a partir dos usuários
e papéis marcados para o expediente. O campo de texto livre foi renomeado para
editorialHistory ("Histórico Editorial") pela migração I9937_EditorialTeamToEditorialHistory
e passou a aparecer apenas no rodapé da nova página Histórico Editorial.
Com o plugin ativado, a página Equipe Editorial (/about/editorialMasthead, o mesmo endereço
e o mesmo item de menu do 3.5) volta a exibir o texto livre da editora no lugar da lista
dinâmica. O conteúdo continua sendo editado no mesmo lugar de sempre,
Configurações → Editora → Expediente — o plugin devolve a esse campo o rótulo "Equipe
Editorial" e ajusta a descrição, para não haver dúvida sobre onde o texto aparece.
Instale em Configurações → Website → Plugins → Enviar um novo plugin, ou extraia a pasta em
plugins/generic/ (ficando plugins/generic/staticEditorialTeam/). Depois ative a Equipe
Editorial Estática na lista de plugins Genéricos.
Não renomeie a pasta. O PKP 3.5 deriva o namespace da classe do diretório de instalação, então a pasta precisa se chamar
staticEditorialTeam— o sufixoOmpé só do repositório. O pacote de release já descompacta com o nome certo.
Nas configurações do plugin, por editora:
| Opção | Padrão | Efeito |
|---|---|---|
| Somente o conteúdo estático | ✔ | Comportamento das versões anteriores: só o texto da editora. |
| Estático e, abaixo, a lista dinâmica | — | Texto da editora e a lista automática de usuários. |
| Lista dinâmica e, abaixo, o estático | — | Lista automática e, abaixo, o texto da editora. |
| Exibir pareceristas do ano anterior | ✖ | Mantém a seção de pareceristas da 3.5. |
| Exibir o link para o Histórico Editorial | ✖ | Mantém o parágrafo com link para /about/editorialHistory. |
| Não repetir o conteúdo no Histórico Editorial | ✔ | Evita o mesmo texto nas duas páginas. |
| Renomear o campo nas configurações da editora | ✔ | Exibe o campo como "Equipe Editorial" no painel. |
- Um hook
TemplateManager::displaytroca apenas o nome do template (a variável vem por referência), então cabeçalhos, cookie de sessão e compile id continuam por conta do OMP. - O template do plugin renderiza o
editorialHistorye, conforme o modo, a mesma marcação do template do núcleo (papéis, usuários, ORCID, pareceristas), preservando o tema. - O rótulo do campo é ajustado pelo hook
Form::config::afterno formuláriomasthead— mais preciso do que sobrescrever a chave de tradução globalmente. - Nada é gravado no banco: o conteúdo é a configuração de contexto que o OMP já armazena.
Interface do plugin traduzida em português (Brasil e Portugal), inglês, espanhol, francês,
italiano e alemão. A pasta do francês é locale/fr — o PKP 3.5 não tem o locale fr_FR, então
uma pasta fr_FR nunca seria carregada.
Verificado no OMP 3.5.0.4 em uma editora real: com o plugin ativo em modo somente estático,
/about/editorialMasthead passa a servir o texto livre da editora (mais de 3.400 caracteres, em
três idiomas) e a lista dinâmica de papéis some, preservando cabeçalho, trilha e rodapé do tema.
- Desenvolvido e mantido pela OJSBR — plugin autoral.
- Distribuído sob a GNU GPL v3.
Distribuído sob a GNU GPL v3. Veja LICENSE e docs/COPYING.