Setting display ojs

how to setting display ojs from:

become

Hi @desrat_sari,

There are several plugins included with recent versions of OJS that change the display of PDFs. For example, try enabling the PDF.js plugin and see if that gives you the presentation you want. Alternately, there’s Google Viewer, but it has a limitation on PDF file size.

Regards,
Alec Smecher
Public Knowledge Project Team

how to use pdf.js?
can you tell step by step or maybe with video tutorial?
please help me
thanks

Hi @desrat_sari,

What version of OJS are you using?

Regards,
Alec Smecher
Public Knowledge Project Team

2.4.5.0 (October 7, 2014 - 05:19 AM)

Hi @desrat_sari,

The PDF.js plugin is included with OJS 2.4.6 and later. I’d suggest upgrading.

Regards,
Alec Smecher
Public Knowledge Project Team

  1. how to upgrade version ojs?
  2. how to use pdf.js?

thanks before

Hi @desrat_sari,

There are upgrade instructions in docs/README in the OJS package.

Once you’ve upgraded to OJS 2.4.6 or newer, you’ll be able to enable the PDF.js plugin in the Journal Manager’s “System Plugins” interface. No other configuration is required.

Regards,
Alec Smecher
Public Knowledge Project Team

where I get pdf.js? can you give url to download pdf.js

Hi @desrat_sari,

The PDF.js plugin is included in OJS 2.4.6 and later.

Regards,
Alec Smecher
Public Knowledge Project Team

I use OJS 2.4.7 but I don’t find pdf.js?
can you help me?
where are pdf.js

Hi @desrat_sari,

Look in “Generic Plugins”.

Regards,
Alec Smecher
Public Knowledge Project Team

ok!!
how to make pdf.js become fullscreen?
from

become

Hi @desrat_sari,

There’s a fullscreen button on the top toolbar. If you want it opened by default, that’ll take a modification.

Regards,
Alec Smecher
Public Knowledge Project Team

if I want to open automatically when click PDF . How to make setting pdf.js?

Hi @desrat_sari,

You’ll need to work with plugins/generic/pdfJsViewer/templates/pdfViewer.tpl. I can’t guide you through modifications in detail, but if you want further help, you might try Stackoverflow.

Regards,
Alec Smecher
Public Knowledge Project Team

please help me…
I can try update script at pdfviewer.tpl but not directly when clik PDF

how to create directly when click PDF

I don’t understand what you mean by “directly clicking the PDF”. It sounds like you are able to modify the Galley display, but this is not what you want.

The current OJS workflow is:
Viewing an Issue → Viewing an Article → Viewing a PDF Galley → Viewing / Downloading a PDF.
Are you wanting to change the workflow, rather than just changing the display?

I dont wanting to change workflow, I can setting display viewing a PDF
like this…

If you don’t want to change the workflow, but do want to default the existing display to fullscreen, follow up on @asmecher’s suggestion with the template file modification and check with a pdf.js related forum to see if/how that change can be made. Stack overflow might be a good starting point.