Is there a way to display the contactEmail in the footer of a theme (OJS version 3.0.1) ?
I’ve tried the code {mailto address=$journalSettings.contactEmail|escape encode=“hex”}, but it doesn’t seem to work.
Thanks!
Is there a way to display the contactEmail in the footer of a theme (OJS version 3.0.1) ?
I’ve tried the code {mailto address=$journalSettings.contactEmail|escape encode=“hex”}, but it doesn’t seem to work.
Thanks!
Hi @nathanluman,
You can use the $currentJournal
variable to access journal settings, e.g.:
{$currentJournal->getSetting('mySettingName')|escape}
The $journalSettings
variable is the problem here, I think; it’s not available in OJS 3.x.
Regards,
Alec Smecher
Public Knowledge Project Team
Now I would like to display the main site contact email in the footer of a theme (OJS version 3.1.1.2) ? Not the email specific to each journal, but the general one.
Thanks!