OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



"New Articles" URL error

Are you an Editor, Author, or Journal Manager in need of help? Want to talk to us about workflow issues? This is your forum.

Moderators: jmacgreg, michael, vgabler, John

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

"New Articles" URL error

Postby Guest » Sun Dec 12, 2004 4:14 am

Sorry for all the new questions, but we hope to go online in January, and are trying to shift this 8 yr old journal into OJS. Thanks for help and suggestions.

There's something wrong with the mailout to inform people of new items. It says: "The following new articles have been published to the The Harrow: Original Works of Fantasy and Horror web site at http://www.theharrow.com/journal/New Articles"

But "New Articles" is not a valid URL. What have we done wrong?

Thanks in advance.
Guest
 

Postby kevin » Sun Dec 12, 2004 2:06 pm

There appears to be a missing newline in the auto-generated email text. Try applying this small patch to admin/editor/publishing.php

Code: Select all
--- admin/editor/publishing.php 12 Jul 2004 09:02:35 -0000      1.268
+++ admin/editor/publishing.php 12 Dec 2004 21:05:19 -0000
@@ -1161,7 +1161,7 @@
                case 2:
                        $subject = "$journaltitle: "._tr('NEW_ARTICLES_PUBLISHED');
                        $msg = sprintf(_tr('NEW_ARTICLES_PUBLISHED_EMAIL'), $journaltitle, $baseurl);
-                       $msg .= _tr('NEW_ARTICLES')."\n----------------------------------------\n\n";
+                       $msg .= "\n"._tr('NEW_ARTICLES')."\n----------------------------------------\n\n";
 
                        foreach($extra as $article) {
                       // get the article title, author(s)
kevin
 
Posts: 338
Joined: Tue Oct 14, 2003 8:23 pm

Postby jasonnolan » Tue Dec 14, 2004 2:44 pm

Thanks. I applied the patch, if I understood it... really it was just to add:
"\n".
so that line 1164 now is
$msg .= "\n"._tr('NEW_ARTICLES')."\n----------------------------------------\n\n";

Right? :)
jasonnolan
 
Posts: 34
Joined: Sun Dec 12, 2004 2:59 am

Postby kevin » Tue Dec 14, 2004 6:25 pm

right
kevin
 
Posts: 338
Joined: Tue Oct 14, 2003 8:23 pm


Return to OJS Editorial Support and Discussion

Who is online

Users browsing this forum: Bing [Bot] and 2 guests