OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Should say PDF

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
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.

Should say PDF

Postby geirrosset » Fri Nov 23, 2012 2:44 am

I'll try to explain.

In the table of content for each journal, out in the right margin from each article there should be a link saying PDF. As of late all these links say "No title" (but in Norwegian) with the icon indicating open or closed access next to it. Shouldn't it say PDF for all articles uploaded as PDFs? And where does it get "No title" from, it's not from locale.xml

Strange

Regards
Geir Rosset
Oslo
Norway
geirrosset
 
Posts: 42
Joined: Tue Aug 30, 2011 1:57 am

Re: Should say PDF

Postby geirrosset » Wed Feb 13, 2013 7:29 am

Anyone?

My locale.xml has the following code for pdfs:
<!-- Interstitial page for PDFs -->
<message key="article.pdf.title">Portable Document Format (PDF)</message>
<message key="article.pdf.download">Last ned denne PDF-filen</message>
<message key="article.pdf.pluginMissing"><![CDATA[<p>PDF-filen du valgte skal nå lastes i denne rammen dersom din nettleser har en PDF-plugin installert (f.eks. en nyere versjon av <a href="http://www.adobe.com/products/acrobat/readstep2.html">Adobe Acrobat Reader</a>).</p> <p>Dersom du bare får opp denne meldingen så må du laste ned filen og åpne den lokalt på din egen maskin.</p><p>For å laste ned PDF-filen, trykk på linken under rammen.</p> <p>Hvis du vil ha mer informasjon om hvordan du skriver ut, lagrer og jobber med PDF-filer så har Highwire Press en hjelpsom <a href="http://highwire.stanford.edu/help/pdf-faq.dtl">FAQ</a> (FAQ=Ofte Stillte Spørsmål) på engelsk om PDF.</p>]]></message>

But it seems these are never called and so "No title" is put in it's place. In what file should these be called?

Regards
Geir R.
Oslo
geirrosset
 
Posts: 42
Joined: Tue Aug 30, 2011 1:57 am

Re: Should say PDF

Postby asmecher » Wed Feb 13, 2013 8:47 am

Hi Geir,

Your server is probably having trouble identifying that the files are actually PDF files. Search the forum for information on MIME types and you'll find lots of similar threads.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm


Return to OJS Technical Support

Who is online

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