New OJS 3 Theme on Bootstrap 4

Greetings,

Theme source code is available here: https://github.com/Vitaliy-1/oldGregg/tree/master
Demonstration instance is available here: http://ojsdemo.e-medjournal.com/index.php/oldGregg/index

The theme uses built-in JATS Parser Plugin for rendering articles in JATS XML format and display on article landing page. An example can be seen here: http://ojsdemo.e-medjournal.com/index.php/oldGregg/article/view/4

To look at source JATS XML one needs just to download article’s XML galley. JATS XML should be downloaded as a galley file as usual.

Another feature is displaying 20 most recent articles on journal’s homepage.

It is compatible with latest OJS 3 release (may not work if version is below 3.1). For bugs, please fill in an issue on GitHub page.

Please note that theme is lincensed under GPL. It was developed by me (and I’m not from PKP team).

Edit: the theme is ready for production use. Many thanks to @anupent for testing and proposing code modifications.

17 Likes

This is a masterpiece! Great work. However, the plugin page doesnt load after copying the file. I have renamed it properly.

Please don’t post any bugs here - use GitHub. This issue is because you are trying to use this theme alongside with JATS Parser Plugin. This theme shares with the plugin the same classes, which results into error. Just disable JATS Parser Plugin:

2 Likes

Dear Dr @Vitaliy
Thanks so much for your contribution. Once, I have asked about jats-parser for bootstrap. Now, it is here.

1 Like

That is a very nice theme @Vitaliy!

edit: although I have never heard of “The Mighty Boosh” :joy:

2 Likes

Thanks a lot on your contribution! Congratulations! That is power of community!

1 Like

Hi @Vitaliy,

Excellent work! I’ve shared this with the PKP team. (I’m relieved it doesn’t actually look anything like Old Gregg.)

Regards,
Alec Smecher
Public Knowledge Project Team

4 Likes

Yup, Old Gregg is actually more greenish and isn’t a pleasant fellow. But this name is good for memorizing :slight_smile:

2 Likes

Great work @Vitaliy! It’s really exciting to see what you’ve been able to do with the Theme API. I’m really glad to see the community stepping in to provide theming options.

1 Like

Hi all,
We have updated our website with this theme by @Vitaliy.

https://jlmc.edu.np

Still, some work has to be done, but we feel it is now suitable for production stage.

Regards,

3 Likes

Yup, the theme is ready for production. The current version is 1.1.0 - in compliance with latest OJS release.
branch = version

2 Likes

Hi @Vitaliy,
Thank you very much for this much awaited theme !
I was wondering if you were planning to include in the future parsing for the JATS “sub-article” tag.
This tag is especially useful for publishing referees’ reports and authors’ response in an open peer review process.

Thanks again for your many contributions !

Christophe

1 Like

sub-article tag that can be placed inside body element and can contain any elements, just like an article?

In open peer review process, this tag follows the /back tag and does contain any elements just like an article. See for instance xml file at https://f1000research.com/articles/7-90/
(An alternative solution, though less compliant with the JATS, is to include referees’ reports and authors response as supplementary sections after the discussion section, in the body of the article)

Best regards,

Christophe

OK. But before adding support for any tag, I need to resolve this issue:
https://github.com/Vitaliy-1/oldGregg/issues/28

Thank you very much for your swift answer and sustained effort !

All the best,

Christophe

Hey…how can I make sure that my hosting has Bootstrap 4 framework?

I use godaddy hosting and having difficulties to check if Bootstrap 4 is there or not…

any help would be appreciated…

Thanks

Hosting companies usually do have option to submit support ticket or open request. You can ask them using that option.

Bootstrap 4 is already inside the theme:
https://github.com/Vitaliy-1/oldGregg/tree/master/bootstrap
If your hosting provider meets requirements for OJS, the theme will work.
Although, I don’t remember if I have used there PHP 7 features. So, maybe you will need PHP version 7.0 or higher.

Edit: yup, have used…

1 Like

Thanks,…I cant use PHP 7…the database crash when I set it to PHP 7…

I install OJS 3.2.0 and use PHP 5.6 instead…that’s why I asked if it’s only can run on PHP 7