OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Problems activating 'Open access date'

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.

Problems activating 'Open access date'

Postby nef » Fri Oct 18, 2013 3:48 am

Hi
In the Internet Explorer 10 I'm not able to activate 'Open access date' on the 'Create Issue' page. In Chrome it works fine. Any suggestions?
access.gif
access.gif (9.01 KiB) Viewed 617 times


Regards
Niels Erik
nef
 
Posts: 257
Joined: Fri Jun 01, 2007 2:56 am
Location: Aarhus, Denmark

Re: Problems activating 'Open access date'

Postby asmecher » Fri Oct 18, 2013 8:22 am

Hi Niels Erik,

What version of OJS are you using?

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Re: Problems activating 'Open access date'

Postby nef » Fri Oct 18, 2013 9:31 am

Hi Alec
I'm testing the 2.4.2.0 edition.
I can tell you that I have no problems with IE 11. Now I'm home but at work I have an IE 10, and there's the problem.
Regards
Niels Erik
nef
 
Posts: 257
Joined: Fri Jun 01, 2007 2:56 am
Location: Aarhus, Denmark

Re: Problems activating 'Open access date'

Postby asmecher » Fri Oct 18, 2013 10:35 am

Hi Niels Erik,

I can't test with IE, but could you try the following change? Modify templates/editor/issues/createIssue.tpl and change the line...
Code: Select all
<input type="checkbox" id="enableOpenAccessDate" name="enableOpenAccessDate" {if $openAccessDate}checked="checked" {/if}onchange="document.getElementById('issue').openAccessDateMonth.disabled=this.checked?false:true;document.getElementById('issue').openAccessDateDay.disabled=this.checked?false:true;document.getElementById('issue').openAccessDateYear.disabled=this.checked?false:true;" />&nbsp;{fieldLabel name="enableOpenAccessDate" key="editor.issues.enableOpenAccessDate"}<br/>
...to...
Code: Select all
<input type="checkbox" id="enableOpenAccessDate" name="enableOpenAccessDate" {if $openAccessDate}checked="checked" {/if}onchange="document.getElementById('issue').elements['openAccessDateMonth'].disabled=this.checked?false:true;document.getElementById('issue').elements['openAccessDateDay'].disabled=this.checked?false:true;document.getElementById('issue').elements['openAccessDateYear'].disabled=this.checked?false:true;" />&nbsp;{fieldLabel name="enableOpenAccessDate" key="editor.issues.enableOpenAccessDate"}<br/>
Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm


Return to OJS Technical Support

Who is online

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