OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



[HELP] Modify the header

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.

[HELP] Modify the header

Postby mrcoyote » Sun Apr 28, 2013 1:11 pm

Hello, I need help to modify the header.tpl
My idea is to insert the login block in the header, I've got it good, most like also the connected user uploaded a photo, the photo appears at the top, I tried to copy the code from the profile editing page which is where and the image appears to move more header does not work, only works when you enter the edit profile page can anyone help me?

link of my OJS:

http://lepespe.com.br/revista/


Code: Select all
{assign var="profileImage" value=$user->getSetting('profileImage')}

{if $isUserLoggedIn}
      <td><div class="user-foto">
      {if $profileImage}
       <img src="{$sitePublicFilesDir}/{$profileImage.uploadName}" width="66" height="66"/>
      {else}
      <img src="http://lepespe.com.br/images/users/padrao.png" alt="" width="66" height="66">
      {/if}


this don`t work =/
mrcoyote
 
Posts: 1
Joined: Sat Apr 27, 2013 12:40 pm

Return to OJS Development

Who is online

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