OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Umlauts in Mail.inc.php.

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, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
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 subforum.

Umlauts in Mail.inc.php.

Postby adrianvosskuehler » Wed May 27, 2009 1:08 am

Dear Developers,

we are using OJS for about 1 Year now and it is great. Some things needed to be adapted for our needs and I would like to provide our adaptions for further development. They concern a few things and there is a file (see the attached patch to the ojs-2.2.3-0 revision in the cvs) which may find some revisited way into the reposititory if they are for interest for other users as well.

1. Sending mail to authors or from editors with umlauts in their names (like mine: Adrian Voßkühler <redaktion@phydid.de>) the 'ß' and 'ü' failed. We need to change the mail header in Mail.inc.php and add some functions in String.inc.php.

2. We needed the articles at the issues pages sorted by pages not by section, so we added a getPublishedArticlesByPages method in the PublishedArticleDAO.inc.php

3. We added a section search at the navigation plugin block by adding a getPublishedArticleIdsSectionizedByJournal analog to the getPublishedArticleIdsAlphabetizedByJournal method in the PublishedArticleDAO. See SearchHandler.inc.php for the new:
Code: Select all
/* Show index of published articles by sections. */
function sections($args) { ... }


4. In the SectionEditorAction.inc.php we needed email templates adapted to first or second review round and a template for the emailEditorDecisionComment.

5. The webfeed and anouncement feed plugins had no readable names when choosing them in our feed reader, so we added a title tag to the $feedUrl1:
title="'.Locale::translate('plugins.generic.announcementfeed.titleAtom').'" with adding the strings to the locale.xml

Hope this adaptions could be useful for the community, would love to see some of them in the next release.

Thanks in advance
Adrian Voßkühler
Editor
redaktion@phydid.de
Freie Universiät Berlin
Journal PhyDid http://www.phydid.de
Attachments
ojs2.zip
Patch to ojs-2.2.3-0
(9.55 KiB) Downloaded 15 times
adrianvosskuehler
 
Posts: 2
Joined: Wed May 27, 2009 12:33 am
Location: Berlin, Germany

Re: Umlauts in Mail.inc.php.

Postby swing » Thu May 28, 2009 2:44 am

hi adrian,

could you also provide sectionIndex.tpl?

thanks! :-)
swing
 
Posts: 142
Joined: Tue Oct 09, 2007 2:59 am

Re: Umlauts in Mail.inc.php.

Postby adrianvosskuehler » Wed Jun 03, 2009 6:45 am

Hi swing,

of course, sorry forgetting it to include in the patch.
It is attached along with all the other changed files, note the new references plugin to announce recent or most read articles.

Adrian
Attachments
PhyDid.zip
Files changed in ojs 2.2.3 to match our needs.
(129.55 KiB) Downloaded 14 times
adrianvosskuehler
 
Posts: 2
Joined: Wed May 27, 2009 12:33 am
Location: Berlin, Germany


Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot], Yahoo [Bot] and 5 guests