OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



SIDE BAR AND THEME DOES NOT APPEAR ON ABSTRACT PAGE

OJS development discussion, enhancement requests, third-party patches and plug-ins.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, 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.

SIDE BAR AND THEME DOES NOT APPEAR ON ABSTRACT PAGE

Postby ushasharma84 » Wed Jul 07, 2010 10:35 pm

Hi
when i click on pdf link of an article in table of content the next page that opens which shows abstarct does not seem to be integrated with the journal as its theme and right side bar disappears. So how to make theme and sidebar to apper on that page.
Thanks in advance :roll:
ushasharma84
 
Posts: 108
Joined: Wed Mar 31, 2010 11:58 pm
Location: delhi

Re: SIDE BAR AND THEME DOES NOT APPEAR ON ABSTRACT PAGE

Postby jmacgreg » Thu Jul 08, 2010 3:18 pm

Hi ushasharma84,

You have to enable the Reading Tools for the sidebar to appear in an article view -- you can do this from Journal Management -> Reading Tools. Please note that these tools display different, context-sensitive information than the normal sidebar (although this will change in OJS 2.3.2, which will include both normal sidebar information as well as reading tools).

Cheers,
James
jmacgreg
 
Posts: 4190
Joined: Tue Feb 14, 2006 10:50 am

Re: SIDE BAR AND THEME DOES NOT APPEAR ON ABSTRACT PAGE

Postby ushasharma84 » Sun Jul 11, 2010 9:35 pm

hi James
sidebar appears on enabling reading tool but theme does not appear although header appears but without theme so how to make theme appear so that look of journal will remain uniform. And when are u releasing new version of ojs.
ushasharma84
 
Posts: 108
Joined: Wed Mar 31, 2010 11:58 pm
Location: delhi

Re: SIDE BAR AND THEME DOES NOT APPEAR ON ABSTRACT PAGE

Postby jmacgreg » Mon Jul 12, 2010 7:04 pm

Hi ushasharma84,

We should be releasing the new version of OJS towards the end of summer. Can you provide a link or a screenshot of the page in question so that I can see what's going on?

Cheers,
James
jmacgreg
 
Posts: 4190
Joined: Tue Feb 14, 2006 10:50 am

Re: SIDE BAR AND THEME DOES NOT APPEAR ON ABSTRACT PAGE

Postby ushasharma84 » Mon Jul 12, 2010 10:02 pm

hi
i have attached the screenshot of the pages on which i want main header to be appeared.
Attachments
abstract.docx
(299.67 KiB) Downloaded 88 times
ushasharma84
 
Posts: 108
Joined: Wed Mar 31, 2010 11:58 pm
Location: delhi

Re: SIDE BAR AND THEME DOES NOT APPEAR ON ABSTRACT PAGE

Postby jmacgreg » Tue Jul 13, 2010 1:28 pm

Hi ushasharma84,

If I understand you correctly, you want your journal's header image to appear in the header for your article. You will have to edit a template for this to happen. Specifically, you will have to edit your article header (templates/article/header.tpl) and add the header image Smarty tags from lib/pkp/templates/common/header.tpl. You'll have to fool around with which code to copy and where to paste it, but you'll most likely want to use most or all of what's in the header divs:

Code: Select all
<div id="header">
<div id="headerTitle">
<h1>
{if $displayPageHeaderLogo && is_array($displayPageHeaderLogo)}
   <img src="{$publicFilesDir}/{$displayPageHeaderLogo.uploadName|escape:"url"}" width="{$displayPageHeaderLogo.width|escape}" height="{$displayPageHeaderLogo.height|escape}" {if $displayPageHeaderLogoAltText != ''}alt="{$displayPageHeaderLogoAltText|escape}"{else}alt="{translate key="common.pageHeaderLogo.altText"}"{/if} />
{/if}
{if $displayPageHeaderTitle && is_array($displayPageHeaderTitle)}
   <img src="{$publicFilesDir}/{$displayPageHeaderTitle.uploadName|escape:"url"}" width="{$displayPageHeaderTitle.width|escape}" height="{$displayPageHeaderTitle.height|escape}" {if $displayPageHeaderTitleAltText != ''}alt="{$displayPageHeaderTitleAltText|escape}"{else}alt="{translate key="common.pageHeader.altText"}"{/if} />
{elseif $displayPageHeaderTitle}
   {$displayPageHeaderTitle}
{elseif $alternatePageHeader}
   {$alternatePageHeader}
{elseif $customLogoTemplate}
   {include file=$customLogoTemplate}
{elseif $siteTitle}
   {$siteTitle}
{else}
   {$applicationName}
{/if}
</h1>
</div>
</div>
jmacgreg
 
Posts: 4190
Joined: Tue Feb 14, 2006 10:50 am

Re: SIDE BAR AND THEME DOES NOT APPEAR ON ABSTRACT PAGE

Postby ushasharma84 » Tue Jul 13, 2010 9:58 pm

hi james
Thanks a lot . It solved my problem
:)
ushasharma84
 
Posts: 108
Joined: Wed Mar 31, 2010 11:58 pm
Location: delhi


Return to OJS Development

Who is online

Users browsing this forum: No registered users and 5 guests