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
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.
I’m using the native importexport pluguin and I’ve had troubles importing the attribute « language » of an article.
Seeking in the code, I’ve found the attribute « language » is used for a supplementary file, but it doesn’t for an article.
I’ve found anything in the CVS about some change concerning this issue.
Finally, I’ve added the next patch (in ./ojs-2.0.2-1/plugins/importexport/native/NativeImportDom.inc.php) and that works for me:
if($lang = $articleNode->getAttribute('language')) $article->setLanguage($lang);
What do you think about that?
- Posts: 34
- Joined: Thu Jul 07, 2005 5:16 am
- Location: Barcelona
Return to OJS Technical Support
Who is online
Users browsing this forum: Bing [Bot], Google [Bot], Yahoo [Bot] and 3 guests