Breadcrumb - Title instead of author name

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

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.
heidelberg
Posts: 40
Joined: Mon May 04, 2009 2:17 am

Breadcrumb - Title instead of author name

Postby heidelberg » Mon Feb 17, 2014 4:53 am

Hello,

We have problems with articles that have more than one author
because only the principal contact authors name is included the breadcrumb.
Is it possible to have the title of the article in the breadcrumb line instead of the author name?
I.e. Home > Vol 1, No 2 (2013) > Title

Best wishes,
Stefanie Clormann

asmecher
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm
Contact:

Re: Breadcrumb - Title instead of author name

Postby asmecher » Mon Feb 17, 2014 5:49 pm

Hi Stefanie,

Look for calls to $article->getFirstAuthor() in templates/article/header.tpl; change these to $article->getLocalizedTitle().

Regards,
Alec Smecher
Public Knowledge Project Team

heidelberg
Posts: 40
Joined: Mon May 04, 2009 2:17 am

Re: Breadcrumb - Title instead of author name

Postby heidelberg » Tue Feb 18, 2014 5:48 am

Dear Alec,

thanks for the reply - it works for us.

Best wishes,
Stefanie


Return to “OJS Technical Support”

Who is online

Users browsing this forum: Bing [Bot], Yahoo [Bot] and 4 guests