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 want to link supplementary files to the article. I read in some threads that I can use ojs:// to refer to the supplementary files.
How can I do that? What is the syntax? I guess we need article ID and file ID, how do I get those values?
- Posts: 3
- Joined: Tue Sep 25, 2012 7:37 am
The syntax for using ojs:// urls depends on what you want to link to. You can look at the function which parses the URL in classes/article/ArticleHTMLGalley.inc.php called '_handleOjsUrl'. For supplementary files, you'd use a link like: suppfile/articleId/suppId. You can get the articleId and suppId by looking at the URLs when you are viewing an article or a supplementary file.
- Site Admin
- Posts: 910
- Joined: Tue Jan 10, 2006 6:20 am
Return to OJS Technical Support
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest