Software Hosting and Development Services available at PKP Publishing Services
As the developers of Open Journal Systems, Open Conference Systems, Open Harvester Systems, and Open Monograph Press, the PKP team are experts in helping journal managers and conference organizers make the most of their online publishing projects. PKP Publishing Services offers support for:
As a customer of PKP Publishing Services, you will not only receive direct, personalized support from the PKP Development Team, but will be contributing to the ongoing development of the PKP applications. All funds raised by PKP Publishing Services go directly toward enhancing our free, open source software. For more information, please contact us.
Are you responsible for making OCS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.
Moderators: jmacgreg, michael, John
Forum rules
What to do if you have a technical problem with OCS: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. Please note that this FAQ is OJS-centric, but most issues are applicable to both platforms.
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
OCS Conference Support and Discussion subforum; if you have a development question, try the
OCS Development subforum.
by obi » Wed Sep 22, 2010 3:15 am
Hi,
We have problem with special characters only when showing “Affiliation” on the browser. See an example at the URL:
http://www.ub.uit.no/baser/ocs/index.ph ... rt/bio/2/0.
We are using OCS version 2.3.3.1 and UTF-8. We need help or point to us where we can make corrections.
Cheers
Obi
-
obi
-
- Posts: 39
- Joined: Wed Jun 09, 2004 5:56 am
-
by mcrider » Fri Sep 24, 2010 12:57 pm
Hi Obi,
I've posted this as a bug:
http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=5950. I'm not sure if there is a reason for escaping the affiliation value, but in the mean time you can fix this by going into the templates/rt/bio.tpl file and at around line 23, change
- Code: Select all
{if $author->getLocalizedAffiliation()}{$author->getLocalizedAffiliation()|escape}{/if}
to
- Code: Select all
{if $author->getLocalizedAffiliation()}{$author->getLocalizedAffiliation()|strip_unsafe_html|nl2br}{/if}
Cheers,
Matt
Matthew Crider
Public Knowledge Project Team
-
mcrider
-
- Posts: 952
- Joined: Mon May 05, 2008 10:29 am
- Location: Vancouver, BC
by obi » Tue Sep 28, 2010 2:47 am
Hi Matts,
Thank you very much. It works. I removed "escape" and replaced it with "strip_unsafe_html".
Cheers
Obi
-
obi
-
- Posts: 39
- Joined: Wed Jun 09, 2004 5:56 am
-
Return to OCS Technical Support
Who is online
Users browsing this forum: No registered users and 1 guest