I wanted to add the The ISSN and Publisher along with the article description as shown in the image. What file must i change in order to make this change?
I tried to locate the file but no no success, is it possible to know through the developer tools? and If so how.
I think this would require modifying the theme for your site - what theme are you using - and what version? Not sure if you have had a look at our theming documentation or not: PKP Theming Guide - that might be a good place to start. My colleague @Vitaliy may also be able to advise.
I’m using Manuscripts latest version for OJS 3.3, version 1.0.3.1.
I’ve already read the Theming guide but i will re-read it in case i missed something
It looks like journal index page, so templates/frontend/pages/indexJournal.tpl. Manuscript theme is a child of a Default theme and inherits this and other templates from the latter. I’d create a child theme of a Manuscript (making it a grandchild of the Default theme) and override the template with custom changes to make them sustainable. As far as I remember, grandchild themes should behave normally.
Thank you for your response.
I still have some doubts. This is my forked file (i never worked with PHP so there might be some errors), the guide explains how to add and modify CSS, LESS and Javascript but not TPL.
Could you explain me how to do it?
I also wanted to make add target="_blank" to the homepage so that when someone clicks on one of journals it opens on a new tab.
I think i found the correct file, indexSite.tpl, Processing: indexSite.tpl… but noticed no change after editing it.
Use variable to display data, e.g., {$currentJournal->getData('printIssn')}. Smarty documentation for more info about template syntax: Documentation | Smarty (OJS 3.3 Uses Smarty version 3)
Thank you for your response.
I’ve been trying to add the issn but I’ve been receiving this error.
Fatal error: Uncaught Error: Call to a member function getData() on null in /var/www/revistas-prod/ojs/cache/t_compile/b9da708b775ca192cb9735589afa7e98b537357a^26de9c47ced54328a8eb56e39bb4d4079aa049c6_0.app.frontendobjectsissuetoc.t.php:121 Stack trace: #0 /var/www/revistas-prod/ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_611a454ad3d905_60514370(Object(Smarty_Internal_Template)) #1 /var/www/revistas-prod/ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template)) #2 /var/www/revistas-prod/ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template)) #3 /var/www/revistas-prod/ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(385): Smarty_Internal_Template->render() #4 /var/www/revistas-prod/ojs/cache/t_compile/b9da708b775ca192cb9 in /var/www/revistas-prod/ojs/cache/t_compile/b9da708b775ca192cb9735589afa7e98b537357a^26de9c47ced54328a8eb56e39bb4d4079aa049c6_0.app.frontendobjectsissuetoc.t.php on line 121