How to include last cover in OJS journals home page

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

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: 2
Joined: Fri Aug 06, 2010 2:39 pm

How to include last cover in OJS journals home page

Postby rodrigotorrens » Fri Aug 06, 2010 3:04 pm

Which changes could be applied to templates of the main page of OJS (V.> 2.2.4) to achieve that the covers of the last numbers appears next to each magazine?

I checked the respective templates:

Code: Select all


but there are only mentioned variables that have to do with images of the logo of the magazine, and is extremely inefficient to have to change these logos every time you insert a new number.


Code: Select all


... There are variables that call the path and file name of the magazine covers, but when I try to use them within the main loop:

Code: Select all

    (Iterate from = journals item = journal)

... In templates/index/site.tpl, the values of these variables are not available.

Any ideas?
Rodrigo Torrens

Posts: 4191
Joined: Tue Feb 14, 2006 10:50 am

Re: How to include last cover in OJS journals home page

Postby jmacgreg » Tue Aug 17, 2010 11:12 am

Hi Rodrigo,

Have you uploaded a cover image for that issue? If you have done this, and you have checked off that the ToC should be displayed on the journal's home page, then the image should display.


Return to “OJS Development”

Who is online

Users browsing this forum: No registered users and 2 guests