OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



[SOLVED] User Home problem

Are you responsible for making OCS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, michael, John

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.

[SOLVED] User Home problem

Postby pureenergycentre » Tue Feb 26, 2013 9:25 am

The OCS documentation says :

If you have already logged in, you will see a User Home link rather than the Login and Register links. Clicking this will take you to your site- or journal-specific User Home page.


Currently if I am logged in as admin, and if I am inside a journal, clicking on the User Home link leads me to the site-specific User Home page, not to the journal-specific User Home page.

I would like to fix that, so that User Home link goes to journal-specific User Home page when I am within the journal.

Here are the two separate links to see what I am speaking about.

The user sees the following user interface when he logs in;

http://pureenergycentre.com/purehypothe ... thesis2013

But when he clicks on the User Home link (after logging in) of the top menu bar, then he is transferred to this user interface:

http://pureenergycentre.com/purehypothe ... ndex/login

The second link does not contain any graphics of the conference and this will get the user a little confused.

What do I need to do to keep the user on the conference webpage when he clicks on the User Home
Last edited by pureenergycentre on Wed Feb 27, 2013 1:45 am, edited 1 time in total.
pureenergycentre
 
Posts: 26
Joined: Fri Feb 15, 2013 1:02 am

Re: User Home problem

Postby pureenergycentre » Tue Feb 26, 2013 11:35 pm

Hello All

Anyone got a solution to this issue?

Thank you so much.
pureenergycentre
 
Posts: 26
Joined: Fri Feb 15, 2013 1:02 am

Re: User Home problem

Postby pureenergycentre » Wed Feb 27, 2013 1:45 am

Hello All

Here is the solution (after going through the code countless hours).

In the folder templates/common/ search for navbar.tpl and replace the below line

Code: Select all
<li><a href="{url conference="index" page="user"}">{translate key="navigation.userHome"}</a></li>


with the below code. That is it.

Code: Select all
<li><a href="{url page="user"}">{translate key="navigation.userHome"}</a></li>
pureenergycentre
 
Posts: 26
Joined: Fri Feb 15, 2013 1:02 am


Return to OCS Technical Support

Who is online

Users browsing this forum: No registered users and 1 guest