You are viewing the PKP Support Forum | PKP Home Wiki

[SOLVED] QuickSubmit unable to publish more +10 years old

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.

[SOLVED] QuickSubmit unable to publish more +10 years old

Postby mbria » Tue May 28, 2013 3:49 am

One editor claims he was not able to quicksubmit articles older than 10 years.

Initially I thought OJS checked the older/newer number published and builds the year dropdown based on this... but it works in a different way: You can publish from now -10 years and +2 years.

Code: Select all
          {math|assign:"minYear" equation="min(x,y)-10" x=$publishedYear y=$currentYear}

If you need to publish older articles, you just need to hack a little the code and modify the -10 to (for instance) -40 in your template at /plugins/importexport/quickSubmit/index.tpl:

Code: Select all
          {math|assign:"minYear" equation="min(x,y)-40" x=$publishedYear y=$currentYear}

Posts: 352
Joined: Wed Dec 14, 2005 4:15 am

Return to OJS Technical Support

Who is online

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