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
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

[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: Baidu [Spider], Bing [Bot] and 2 guests