Giter Site home page Giter Site logo

oldgregg's Introduction

Old Gregg Theme for OJS 3

Information

This is a custom theme for the latest OJS 3 release. It is based on Bootstrap 4 framework and uses JATS Parser Plugin for automatic rendering of articles in JATS XML format and displaying them on article landing page.

Developer: Vitaliy Bezsheiko, MD

Live demonstration instance: https://uk.e-medjournal.com/index.php/psp

Current release

Current latest release is ready for production use

How to use

  1. Download the plugin.
  2. Rename directory to the oldGregg.
  3. Copy to themes directory inside OJS.

Licensing

The oldGregg theme is licensed under GPLv3.

oldgregg's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

oldgregg's Issues

Translate

Hello, there are some points that need translations.
How can I translate Latest Issues ##Plugins.Gregg.Issues.Slider.Title## in Spanish?...

Thanks

docx toxml xml file not working

docx toxml xml file not working when i use the jats theme it is working but when i try the same with oldgregg with jats xml parser on or off the abstract page is showing blank

Some contents of article metadata (abstract) is visible above header

Hi @Vitaliy-1 ,
I have problem with maybe five of our articles in that some of the text of metadata (abstract) is visible above header pushing header below. Some articles without XML (abstract only) and one with XML is showing problem.
Here is the screenshot of what I mean:
image

Firefox inspector shows few paragraphs and part of closing tag and then ? contents of head in the body as below:
image

There is nothing unusual with the content of abstract:
image

and problem starts from the red mark
image

I do not have the problem with default theme:
image

Any idea what is going wrong here?

Best regards,
@anupent

ORCID for Authors

Hi @Vitaliy-1 ,
Can you add ORCID of authors in article detail page under Affiliations.

Further, my request is to replace "Affiliations" with "Author Details". What do you say?

image

Best regards,
@anupent

Enhance search page view

Several elements of the search menu are not accessible through theme template, but we can use javascript.

Article metadata of the same author switched in article details

Dear @Vitaliy-1
Strange thing happen for article metadata displayed in article details.
Please take a look this http://jurnalbeta.ac.id/index.php/betaJTM/article/view/100. The metadata (title, author, abstract, published time) is different with the title.
So is http://jurnalbeta.ac.id/index.php/betaJTM/article/view/4
The two articles have similar corresponding author. I have checked in article metadata of both articles, it is all fine. I tried using default theme, it does not have any problem with metadata displayed in article detail. So, I assume this relates to oldGregg

Middle name of author not displayed in citation style

When there is a middle name of an author, only the initial of first name is presented, initial of middle name is not shown. There should have been initials of both first and middle name in the Vancouver system.

image

Best regards,

Reference are not visible when citations are clicked

In big screens, one expect to see the reference when s/he clicks the citation.

Currently, this is only possible if s/he has already clicked “reference” tab. Otherwise, references are not visible on clicking citations.

Main page shows articles from other journals

We run one OJS instance with several journals and only one journal currently tests now the oldGregg theme. But on the main page of this journal, we see now articles from the other journals as well. Is this reproducible?

Search always produce "No results"

Whenever we search any items, it always produces "No results" and loads an Advanced Search Page.

If we search the same word(s) in that "Advanced Search Page", we get results.

We don't have this problem with the default theme.

Editorial Team and Archive Page not displayed

I installed bootstrap 4 themes today and facing two issues:
1- Editorial team page does not show board members details although these are there in Settings > Journal MASTHEAD.

2- Archive link in the menu when clicked shows a blank page.

Looking forward to your solution, please.
Nadeem

Styles is not applied to website

I uninstalled "jatsParser plugin" and "manuscript-Jats" theme plugin. Then I copied the oldGregg folder to /plugins/themes folder and activated it in the settings - website - plugins.

When I load my homepage, styles do not seem to be applied. Below is the printscreen image:

image

I tried removing my custom stylesheet from public folder. Same results.
However, when I again copy manuscriptJats folder into theme, style is properly applied even if manuscriptJats them is not activated under plugins in website settings.

I am using OJS 3.1.0.1 with following server info:

OS platform | WINNT
PHP version | 7.1.10
Apache version | Apache/2.4.28 (Win32) OpenSSL/1.0.2l PHP/7.1.10
Database driver | mysqli
Database server version | 10.1.28-MariaDB

list within list not displayed

Please see the code below. It used to be displayed by jatsParser before. But does not do so now.

Codes:
image

by jatsParser in manuscriptJats:
image

by oldGregg:
image

Footer error

Footer is not visible on the article landing page.
Also we can not add anything in the footer by editing in the settings.

Refactor JATS Parser code

Basically, want to do 2 things here:

  1. Refuse from assigning data through setters in favor of initiating with a constructor. As those data are hardcoded in XML and we don't want to change them.
  2. Think, it would be better to change tree-like to flat structure of section objects inside body. Just like in OOXML and LaTeX.
    These modifications should be done before enriching JATS Parser Plugin with other JATS XML elements.

UsageStatistics in "Article full text"

Right now, we cannot see "usage statistics" info in the "article full text" page. Can we add a tab in the right side-bar named "Statistics" or anything suitable as shown in figure below.
In this figure, i have reduced the width of right side-bar and increased width of article text area.
image

Add logo/banner in the header

Name of the journal in the header comes from "Journal Name" in journal settings.
I did not find a way to add logo or banner. It would be reasonable to add them.

/issue/archive is empty

Hello!.
When I try to go to /issue/archive it show me an empty page. How can I fix this?.
I dont have any console log message.
I can perfectly see the different articles individualy.
PD: Beautifull theme!. Very useful.

Error 500 after installing

I tried to install both, master and 1.1.0.0, but it threw this expection in apache log:
PHP Fatal error: Call to undefined method OldGreggThemePlugin::addMenuArea() in /home/www/ojs/plugins/themes/oldGregg/OldGreggThemePlugin.inc.php on line 75

I'm using OJS 3.0.2.

Plugins tab hangs with message "loading"

I download from master. Named to oldGregg and copied the folder to plugins/themes.
When I went to settings - website - plugins, there is a spinning wheel with message "loading" and nothing happens.
Following is the error-log message:
"Cannot declare class ArticleSection, because the name is already in use in \plugins\themes\oldGregg\jatsParser\classes\ArticleSection.inc.php on line 14"

I get HTTP ERROR 500, when I try to see the whole article after uploading the XML [OJS 3.1.1]

There is no error if I do not upload the XML file. But if I upload the XML file, I get the error. Error log is as follows:

[17-May-2018 17:06:00 UTC] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; Smarty has a deprecated constructor in /home/u796555399/public_html/journals/openjmri/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 64
[17-May-2018 17:06:00 UTC] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor in /home/u796555399/public_html/journals/openjmri/lib/pkp/lib/adodb/adodb.inc.php on line 263
[17-May-2018 17:06:00 UTC] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /home/u796555399/public_html/journals/openjmri/lib/pkp/lib/adodb/adodb.inc.php on line 359
[17-May-2018 17:06:00 UTC] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /home/u796555399/public_html/journals/openjmri/lib/pkp/lib/adodb/adodb.inc.php on line 2921
[17-May-2018 17:06:00 UTC] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /home/u796555399/public_html/journals/openjmri/lib/pkp/lib/adodb/adodb.inc.php on line 3939
[17-May-2018 17:06:00 UTC] PHP Warning:  Declaration of LensGalleyPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/u796555399/public_html/journals/openjmri/plugins/generic/lensGalley/LensGalleyPlugin.inc.php on line 323
[17-May-2018 17:06:00 UTC] PHP Warning:  Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /home/u796555399/public_html/journals/openjmri/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 386
[17-May-2018 17:06:00 UTC] PHP Warning:  Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/u796555399/public_html/journals/openjmri/plugins/generic/driver/DRIVERDAO.inc.php on line 19
[17-May-2018 17:06:00 UTC] PHP Warning:  Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/u796555399/public_html/journals/openjmri/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134
[17-May-2018 17:06:00 UTC] PHP Warning:  Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/u796555399/public_html/journals/openjmri/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134
[17-May-2018 17:06:00 UTC] PHP Warning:  Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/u796555399/public_html/journals/openjmri/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 100
[17-May-2018 17:06:00 UTC] PHP Warning:  Declaration of ArticleHandler::initialize($request, $args) should be compatible with PKPHandler::initialize($request) in /home/u796555399/public_html/journals/openjmri/pages/article/ArticleHandler.inc.php on line 395
[17-May-2018 17:06:00 UTC] PHP Warning:  Declaration of SubmissionFileDAO::fromRow($row) should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in /home/u796555399/public_html/journals/openjmri/classes/article/SubmissionFileDAO.inc.php on line 23
[17-May-2018 17:06:00 UTC] PHP Deprecated:  Non-static method PKPApplication::getCCLicenseBadge() should not be called statically in /home/u796555399/public_html/journals/openjmri/pages/article/ArticleHandler.inc.php on line 150
[17-May-2018 17:06:00 UTC] PHP Warning:  Declaration of SubmissionKeywordEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /home/u796555399/public_html/journals/openjmri/lib/pkp/classes/submission/SubmissionKeywordEntryDAO.inc.php on line 20
[17-May-2018 17:06:00 UTC] PHP Fatal error:  Uncaught TypeError: Return value of JATSParser\Body\Document::extractSections() must be an instance of JATSParser\Body\void, none returned in /home/u796555399/public_html/journals/openjmri/plugins/themes/oldGregg/jatsParser/src/JATSParser/Body/Document.inc.php:122
Stack trace:
#0 /home/u796555399/public_html/journals/openjmri/plugins/themes/oldGregg/jatsParser/src/JATSParser/Body/Document.inc.php(32): JATSParser\Body\Document->extractSections()
#1 /home/u796555399/public_html/journals/openjmri/plugins/themes/oldGregg/OldGreggThemePlugin.inc.php(178): JATSParser\Body\Document->__construct('/home/u79655539...')
#2 /home/u796555399/public_html/journals/openjmri/lib/pkp/classes/plugins/HookRegistry.inc.php(107): OldGreggThemePlugin->jatsParser('TemplateManager...', Array)
#3 /home/u796555399/public_html/journals/openjmri/lib/pkp/classes/template/PKPTemplateManager.inc.php(856): HookRegistry::call('TemplateManager...', Array)
#4 /home/u796555399/public_html/journals/openjmri/pages/article/ArticleHandler.inc.php(19 in /home/u796555399/public_html/journals/openjmri/plugins/themes/oldGregg/jatsParser/src/JATSParser/Body/Document.inc.php on line 122

Homepage image does not change

I am using OJS 3.1.0-1 as you suggested to me yesterday. I am facing one small issue and that is
I can not change homepage image. In fact in settings>Website>appearance, I have changed the image to be displayed but on the front end, it does not show the updated new image which is much wider to accommodate the title of my journal.
Any suggestion, how to solve this issue. You can see the output here
https://journal.seisense.com/index.php/jom

Latest issue picture is small and i want to change it to a bigger picture but all in vain...

Thanks

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.