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
This forum is meant for general questions about the usability of OJS from an everyday user's perspective: journal managers, authors, and editors are welcome to post questions here, as are librarians and other support staff. We welcome general questions about the role of OJS and how the workflow works, as well as specific function- or user-related questions.

What to do if you have general, workflow or usability questions about OJS:

1. Read the documentation. We've written documentation to cover from OJS basics to system administration and code development, and we encourage you to read it.

2. take a look at the tutorials. We will continue to add tutorials covering OJS basics as time goes on.

3. Post a question. Questions are always welcome here, but if it's a technical question you should probably post to the OJS Technical Support subforum; if you have a development question, try the OJS Development subforum.

"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: Google [Bot] and 3 guests