Skip to content

Kungbib/publicera-theme-ojs-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

publicera-theme-ojs-plugin

OJS theme plugin specifically made for for Publicera, an OJS portal hosted by the National Library of Sweden.

Support

This plugin is developed and tested with the following setup:

  • OJS 3.3.0-6
  • PHP 7.4

Usage

  1. Build the theme.
  2. Copy the contents of the build folder (a folder named publicera_theme).
  3. Move the copy to your OJS themes folder <ojs_root>/plugins/themes/ OR just upload it inside the software as a theme plugin.
  4. Activate the plugin Administration-> Site Settings-> Plugins
  5. Choose the theme Administration-> Site Settings-> Appearance

Development

It's adviced to keep this repository out of your OJS development environment while developing the plugin. Instead, create a symlink in your <ojs_root>/plugins/themes/ that points a symlinked folder named publicera_theme to <this_repo>/build/publicera_theme/

Requirements

  • node.js
  • npm (should already be included with node)
  • Sass (npm install -g sass)
  • Font package
    • Due to licensing this is archived internally. Check internal documentation or ask a developer.
    • Unpack it in the root folder of this repo.

Build

$ npm install
$ npm run build