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
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.

[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:


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"/>
      <img src="http://lepespe.com.br/images/users/padrao.png" alt="" width="66" height="66">

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

Return to OJS Development

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest