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.
OJS development discussion, enhancement requests, third-party patches and plug-ins.
Moderators: jmacgreg, michael, jheckman, barbarah, btbell, bdgregg, asmecher
Forum rules
Developer Resources:Documentation: The
OJS Technical Reference and the OJS
API Reference are both available from the
OJS Documentation page.
Git: You can access our public Git Repository
here. Comprehensive Git usage instructions are available on the
wiki.
Bugzilla: You can access our Bugzilla report tracker
here.
Search: You can use our
Google Custom Search to search across our main website, the support forum, and Bugzilla.
Questions and discussion are welcome, but if you have a workflow or usability question you should probably post to the
OJS Editorial Support and Discussion subforum; if you have a technical support question, try the
OJS Technical Support subforum.
by downtheroad » Wed Jan 14, 2009 1:03 pm
I would like to have the logo appear on the article abstract page. In templates/article/article.tpl I can hardcode this, but it would be nicer if I could get it from the array $displayPageHeaderLogo. What do I need to do to make this array available to this template file?
Similarly, for some of the other pages, in templates/common/header.inc I would like to use this array but it is not available (and so in the code below 'site title' is used instead. How can I make the array available in all cases?
{if $displayPageHeaderTitle && is_array($displayPageHeaderTitle)}
<img src="{$publicFilesDir}/{$displayPageHeaderTitle.uploadName|escape:"url"}" width="{$displayPageHeaderTitle.width|escape}" height="{$displayPageHeaderTitle.height|escape}" {if $displayPageHeaderTitle.altText != ''}alt="{$displayPageHeaderTitle.altText|escape}"{else}alt="{translate key="common.pageHeader.altText"}"{/if} />
{elseif $displayPageHeaderTitle}
{$displayPageHeaderTitle}
{elseif $alternatePageHeader}
{$alternatePageHeader}
{elseif $siteTitle}
/>
dr
-
downtheroad
-
- Posts: 25
- Joined: Tue Jan 13, 2009 9:48 am
by mcrider » Thu Jan 15, 2009 11:37 am
Hi there,
You could try something like this in article.tpl:
- Code: Select all
{assign var=displayPageHeaderLogo value=$currentJournal->getJournalPageHeaderLogo(true));}
Hope that helps,
Matt
Matthew Crider
Public Knowledge Project Team
-
mcrider
-
- Posts: 952
- Joined: Mon May 05, 2008 10:29 am
- Location: Vancouver, BC
Return to OJS Development
Who is online
Users browsing this forum: No registered users and 2 guests