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
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
As far as I can see, when importing HTML galleys, they will only be automatically recognised as such and included
in the article page (instead of used as
the article page) if they are a complete HTML file.
This does, however, produce invalid XHTML code, since it produces a second instance of <html> and <head> (and so on) in the code, as in the demonstration journal, e.g. http://pkp.sfu.ca/ojs/demo/present/index.php/demojournal/article/view/6/11
- Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Is there any way I can get rid of this? I love having the journal header above (as in the example), but I also need valid code.
- Posts: 3
- Joined: Tue Nov 14, 2006 8:12 am
- Location: Berlin, Germany
This is something we'll definitely be addressing in the future; in the meantime, I'd suggest relaxing the check that determines whether or not an uploaded galley is HTML. You can find this in classes/submission/form/ArticleGalleyForm.inc.php at approx. line 141:
- Code: Select all
$fileType = $articleFileManager->getUploadedFileType($fileName);
I'd suggest using a snippet of code to check the file extension instead.
Open Journal Systems Team
- Posts: 9922
- Joined: Wed Aug 10, 2005 12:56 pm
Return to OJS Technical Support
Who is online
Users browsing this forum: Baidu [Spider], Bing [Bot], Google [Bot], Yahoo [Bot] and 12 guests