Article title - Two separate title lines.

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

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.
Posts: 47
Joined: Sat Mar 31, 2007 10:06 pm

Article title - Two separate title lines.

Postby stabb » Sun Apr 15, 2007 1:44 am

Hi there,

For our Journal we require two title lines for each article. The second title is the title of the actual article while the first title describes the article. ie. "Target Article 1..." OR "Peer Commentary 1" etc.

I have played around with the issue.tpl code and I can see a rather complicated and vague solution, is there a simple one?

I understand the title will not accept any HTML code...??


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

Postby asmecher » Sun Apr 15, 2007 8:59 am

Hi James,

If you add "<br/>" (the line break tag) to the list of allowed HTML tags $allowedHtmlTags in classes/core/ around line 240, you'll be able to use this tag in articles. Let me know if you have any trouble. This is definitely the easiest solution, although not as clean as the ideal solution, which would be to add a subtitle metadata field. FYI, we'll be making metadata set changes easier in a future release.

Alec Smecher
Open Journal Systems Team
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada

Return to “OJS Technical Support”

Who is online

Users browsing this forum: No registered users and 1 guest