Skip to content

OJSBR/staticEditorialTeam

Repository files navigation

Static Editorial Team — OJS plugin

OJS Version License

⬇️ Install package: OJS 3.5 — or browse all Releases.

A generic plugin for Open Journal Systems (OJS) that brings back the static Editorial Team page of earlier OJS versions: the page shows the free text configured in the journal settings instead of the dynamic listing OJS 3.5 builds from user roles — without patching OJS core.

Developed and maintained by OJSBR. See the Credits & authorship section below.

Compatibility & branches

OJS version Branch Plugin release
OJS 3.5.x stable-3_5_0 (default) 1.0.0.0

The problem

Up to OJS 3.4, the Editorial Team page displayed a rich-text field edited in Settings → Journal → Masthead (editorialTeam).

OJS 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.

What it does

With the plugin enabled, the Editorial Team page (/about/editorialMasthead — same URL and same navigation menu item as stock 3.5) shows the journal's free text again, instead of the dynamic user listing. The content keeps being edited in the very same place, Settings → Journal → Editorial Team; the plugin renames that field's label back to "Editorial Team" and adjusts its description, so it is clear where the text is published.

Installation

  1. Download the release (or clone the branch).
  2. Install via Settings → Website → Plugins → Upload A New Plugin, or extract the folder into plugins/generic/ so you get plugins/generic/staticEditorialTeam/.
  3. Enable Static Editorial Team under the Generic plugins list.

Configuration

Open the plugin settings. Every option is per journal:

Option Default Effect
Static content only Behaviour of earlier versions: only the journal'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 OJS 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 journal settings Shows the field as "Editorial Team" in the admin form.

How it works (technical)

  • A TemplateManager::display hook swaps only the template name — that variable is passed by reference — so headers, the session cookie and the compile id are still handled by OJS.
  • The plugin template renders editorialHistory and, 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::after hook on the masthead form, which is narrower than overriding the locale key globally.
  • Nothing is written to the database: the content is the context setting OJS already stores.

Credits & authorship

  • Developed and maintained by OJSBR — original plugin.
  • Distributed under the GNU GPL v3.

Contributing

Issues and pull requests are welcome. Please target the branch matching the OJS version you are working against. See CONTRIBUTING.md.

License

Distributed under the GNU GPL v3. See LICENSE and docs/COPYING.


🇧🇷 Português

Plugin genérico para o Open Journal Systems (OJS) 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 revista, no lugar da lista dinâmica que o OJS 3.5 monta a partir dos papéis de usuário — sem alterar o núcleo do OJS.

Desenvolvido e mantido pela OJSBR. Veja a seção Créditos e autoria abaixo.

Compatibilidade e branches

Versão do OJS Branch Release do plugin
OJS 3.5.x stable-3_5_0 (padrão) 1.0.0.0

O problema

Até o OJS 3.4, a página Equipe Editorial exibia um texto livre editado em Configurações → Revista → Equipe Editorial (campo editorialTeam).

No OJS 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.

O que faz

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 revista no lugar da lista dinâmica. O conteúdo continua sendo editado no mesmo lugar de sempre, Configurações → Revista → Equipe Editorial — 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.

Instalação

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.

Configuração

Nas configurações do plugin, por revista:

Opção Padrão Efeito
Somente o conteúdo estático Comportamento das versões anteriores: só o texto da revista.
Estático e, abaixo, a lista dinâmica Texto da revista e a lista automática de usuários.
Lista dinâmica e, abaixo, o estático Lista automática e, abaixo, o texto da revista.
Exibir pareceristas do ano anterior Mantém a seção de pareceristas do OJS 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 revista Exibe o campo como "Equipe Editorial" no painel.

Como funciona (técnico)

  • Um hook TemplateManager::display troca 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 OJS.
  • O template do plugin renderiza o editorialHistory e, 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::after no formulário masthead — 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 OJS já armazena.

Idiomas

Interface do plugin traduzida em português (Brasil), inglês, espanhol, francês, italiano e alemão.

Créditos e autoria

  • Desenvolvido e mantido pela OJSBR — plugin autoral.
  • Distribuído sob a GNU GPL v3.

Licença

Distribuído sob a GNU GPL v3. Veja LICENSE e docs/COPYING.

About

OJS 3.5 plugin: brings back the static Editorial Team page, showing the journal free-text setting instead of the dynamic masthead listing

Topics

Resources

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages