Theme for OJS 3.1.2

Hi dear friends,
I’ve been working with OJS for four years, started with OJS 2.4.8.0, in this last update for OJS 3x I’m more in the programming part and I’m loving it, the whole community does a great job. I apologize for some silly questions. It is very good to belong to this community always willing to help. I want to help more as I learn.
Here in Brazil, more specifically in the state of Rio Grande do Norte, I am as a technical support scholar and having great support from my bosses, I have been developing some templates and evolving some.
I am really enjoying working with this area and I want to be able to contribute more and more to this community.
Here’s one of the topics I’ve finalized for the new version of OJS 3.1.2.

https://github.com/monicalpaiva/ufrn-theme

If you wish, you can access https://periodicos.ufrn.br/
Thank you all!

5 Likes

Thanks for the work. It is a great theme

Olá, Boa tarde, sou da Universidade de Sorocaba, estamos na cidade de Sorocaba/SP gostaria da sua ajuda para inserir o plugin do seu tema no nosso Portal Portal de Periódicos Eletrônicos Científicos - PPEC da Universidade de Sorocaba - UNISO
Pode nos ajudar por favor. Aguardo. Obrigada

1 Like

Boa tarde, sim, qual problema está apresentando?

How can one download this theme.

1 Like

The theme github is available, just download and install. Need to convert to tar.gz

How i my going to upload it if i can.t download tar.gz of it. is there a tool to convert it. Am a beginner please guide me.

1 Like

I usually download and convert by command lines.
git clone command to download, command (tar -czvf folder.tar.gz folder) and then I go to Plugins and Upload A New Plugin

1 Like

Olá Monica, bom dia!

Meu nome é Silmara, sou da Uniso - Universidade de Sorocaba (SP), estamos trabalhando na Institucionalização do nosso Portal de Periódicos, para tanto preciso melhorar a nossa página.

Localizei o Portal de vocês no Fórum do PKP, por sinal a página do Portal de vocês está de parabéns, muito eficiente e bonito. Gostaria de saber se vocês compartilham o modelo usado para a capa do portal, com todas as funcionalidades que vocês dispõe na página (Publicações Recentes; Revistas de A a Z; Incubadora…), se é possível o nosso ter o mesmo formato.

Aguardo

Obrigada

1 Like

Wow the main page of the theme is really beautiful.
Love the design.

Can you post the journal page that uses the theme too ?

Thank @monicalp

1 Like

Dear, as the theme went to institution I am not allowed to pass on.

So, @monicalp are not you allow any more to share your front page code?

thnks!

1 Like

The theme looks great! A pity you aren’t allowed to share it anymore. Can you explain how you created journal groupings on the frontpage (A-Z, Incubated journals, Terminated journals)? Would like to be able to do something similar.

All the best
Magnus

1 Like

I put in the configuration page (ThemePlugin.inc.php) the option of the journal that would appear in which the getJournalsByPath pulls from the database. follows example.

    $regularJournalsPaths = $this->getJournalsByPath($this->getOption('regularJournals'));        
    $incubatedJournalsPaths =  $this->getJournalsByPath($this->getOption('incubatedJournals'));
    $terminatedJournalsPaths =  $this->getJournalsByPath($this->getOption('terminatedJournals'));
   
    $journalDao = DAORegistry::getDAO('JournalUfrnDAO');

    $regular_journals = $journalDao->getJournalsByPath($regularJournalsPaths);
    $incubated_journals = $journalDao->getJournalsByPath($incubatedJournalsPaths);
    $terminated_journals = $journalDao->getJournalsByPath($terminatedJournalsPaths);            

    $smarty->assign('regular_journals', $regular_journals);
    $smarty->assign('incubated_journals', $incubated_journals);
    $smarty->assign('terminated_journals', $terminated_journals);
2 Likes

Thank you very much! I will have a look at it

1 Like

Dear Monica,
I got an error at this command line on OJS3.2: Uncaught Error: Call to undefined method JournalUfrnDAO::_getTableName() in D:\wamp64\www\jos\plugins\themes\ufrn-theme\classes\JournalUfrnDAO.inc.php:20

$query = “SELECT * FROM " . $this->_getTableName(). " WHERE path IN (’”. implode("’,’", $paths) ."’) ORDER BY seq";

Could you help me fix this.
Thank You.

1 Like

Sorry for the delay, but have you checked that the method has not been deleted? How was it executed, did you edit the code?

1 Like

Olá! Como vocês fizeram para inserir a barra de busca na página inicial do portal?

I also have a similar error and I am trying to find this method getTableName and failed doing so.
BTW, I ve tried to implement your method on to the oldGregg theme plugin.
Added the lines to oldGregg for $this, then the methods, and the corresponding classes also added the hook lines…

Would you be kind to help. I am very new to OJS and am tasked to build over oldGregg… Thanks!

where could we download the themes?