Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.
Moderators: jmacgreg, michael, jheckman, barbarah, btbell, bdgregg, asmecher
What to do if you have a technical problem with OJS:
1. Search the forum
. You can do this from the Advanced Search Page
or from our Google Custom Search
, which will search the entire PKP site. If you are encountering an error, we especially recommend
searching the forum for said error.
2. Check the FAQ
to see if your question or error has already been resolved.
3. Post a question
, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion
subforum; if you have a development question, try the OJS Development
Is there a way to reload some fields with its corresponding texts in the translation files as the email templates?
For example, in the file /locale/es_ES/default.xml, I modified the texts default.journalSettings.forReaders, default.journalSettings.forAuthors and default.journalSettings.forLibrarians, and I would like all journals (more than 50) were affected by this change.
Universidad de Murcia, España
- Posts: 255
- Joined: Thu Feb 07, 2008 3:35 am
- Location: Murcia, Spain
the changes you made in the XML files with the email templates are not automatically loaded by OJS. The easiest and fastest way to get the OJS default templates updated after you edited those XML files is to run "php upgrade.php upgrade" on the command line from your /tools directory.
However, after this upgrade will only write your changes into the database table "email_templates_default_data". To get the changes to take effect, it would also be necessary that the journal manager would reset the email templates in question to the default. If you have more than 50 journals, that would be a lot of work. It would probably be more efficient to design an update query in the MySQL database, writing the default data from "email_templates_default_data" into the table "email_templates_data". However, when you're doing something like that be sure to make a database backup first and make sure you're only overwriting the email templates that you want to update.
- Posts: 98
- Joined: Wed Jul 25, 2012 2:56 pm
- Location: Munich, Germany
Return to OJS Technical Support
Who is online
Users browsing this forum: Google [Bot], Yahoo [Bot] and 2 guests