How our developer on openjournaltheme.com helps improve OJS

It started from our desire to immediately make our theme compatible with the latest version 3.1.2 for all our OJS 3 theme. Then we started by downloading the OJs on our local server.

The setup the latest version was success and tried installing our academic pro theme at the OJS.

Unfortunately, our team found that it didn’t load any of our custom smarty (template) files on the index page.

Some references state that there is a change in the smarty syntax in the custom templates for Ojs.

OJS upgrade the smarty library from version 2 to version 3 so that any {php} syntax on custom template file will result in the error.

We tried to fix it but it turned out that this still happened. We only get an index page that loads the default template page provided by PKP / OJS.

Our team were starting to get curious, so we tried to install some popular themes such as Bootstrap 3 from NateWr and HealthScience which claimed in the release version that already supported by 3.1.2.

But none of them is working it still failed to load any custom file :

image

After the installation process is completed, there is no single custom template running on the 3.1.2 version of OJS.

It turns out that clearing the browser cache and the cache template for our OJS admin was useless.

“There must be some mistakes” : as our team thinking, so he try it on another computer but, again none of it was working as expected.

In the end our team took the initiative to open the issue on the official pkp page.

Reporting the Issue

Firstly our team report the issue on the forum, seem like one of the user also have the same problem. The forum is not very fast to get any response. So he initiate to report it on the official pkp github page. The page where OJS belong for reporting any of the bug regarding any of the code.

Here are some of the transcripts:

Yes, we know that the majority of online OJS site is hosted in Linux environment.

However, the windows environment can not be neglected since it is very important to test or learn locally rather than on the production server (online).

Your support for the theme would improve the OJS core

Finally it was acknowledged that this was a bug where the plugin.inc.php script failed to download any custom templates if using the Windows 10 operating system.

Thankfully, the OJS developer fixed it immediately and they thank for our team report. 🥳

The appreciation goes to our team who acted quickly by reporting the issue and also the OJS developers for they agility in overcoming this bug. We really hope that a lot of people can use OJS easily without any major bug.

We are very grateful to our theme users, with your support for this theme development for premium template.

Did you know that your support also affects the quality of OJS scripts released by PKP? Let’s make OJS being better 🙏

Reference from official OJS (PKP) sites :

https://github.com/pkp/pkp-lib/issues/4600
https://forum.pkp.sfu.ca/t/ojs-3-1-2-not-load-any-custom-template-theme-files/51948

Share this article
  •  
  •  
  •  
  •  

Leave a Comment

Your email address will not be published. Required fields are marked *

0