Coder Social home page Coder Social logo

pdfmerge's Introduction

PdfMerge

This plugin is intended to provide the possibility to merge manuscript submission files into one PDF file. For this a button is added to the submission / review workflow tabs when viewing a submission.

Prerequisites

  • OJS 3.2.0
  • Docker

Installing

Move the pdfMerge folder to your plugins/generic directory

mv plugins/generic/pdfMerge /path/to/your/ojs/installation/plugins/generic

Register the plugin

php /path/to/your/ojs/installation/lib/pkp/tools/installPluginVersion.php plugins/generic/pdfMerge/version.xml

Add hook calls to the pages you want to show the plugin on. Please note that on every page you want to show this a submission and a stage id should be available.

{call_hook name="PdfMerge::Show" submissionId=$submission->getId() stageId=$stageId}

To display on the workflow submission / review pages you would include it in the following files

lib/pkp/templates/controllers/tab/workflow/submission.tpl
lib/pkp/templates/workflow/reviewRound.tpl

inside the pkp_context_sidebar div.

Edit docker-compose.yml

...
ports:
  - '5000:5000'
...
  - <Your OJS private file directory>:/var/www/files
...

Start the converter service

cd converter && docker-compose up -d

Enable the plugin inside your OJS by going to

Management > Website Settings > Plugins > Generic Plugins and enable the Checkbox beside "PdfMerge"

Contributing

If you want to contribute to this plugin please open a pull request.

Authors

See the list of contributors who participated in this project.

License

This project is licensed under the GNU General Public License v2 - see the LICENSE file for details

Acknowledgments

  • All of the guys working on OJS!

pdfmerge's People

Contributors

kronwalled1134 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.