OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Submission Type not Displayed on Director's Pages

Are you responsible for making OCS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, michael, John

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.

Submission Type not Displayed on Director's Pages

Postby tshore » Mon Dec 17, 2007 4:08 am

I'm wondering if this was an oversight? How can a director make a decision on a submission if he doesn't know what kind of submission it is? ie. For now, we are just differentiating between Single Paper and Panel Presentations.

Here is an example of a page that should probably display this data:

director/submission/{paperID}

I can make this data appear there myself, but I thought that it is something that should be fixed in the CVS.
tshore
 
Posts: 266
Joined: Fri Nov 18, 2005 12:48 pm
Location: Hamilton, Ontario

Re: Submission Type not Displayed on Director's Pages

Postby asmecher » Mon Dec 17, 2007 1:53 pm

Hi Trudy,

This data was supposed to be displayed for OCS 2.0, but there was a typo in the code. This has already been corrected in CVS by the first snippet of the patch at http://pkp.sfu.ca/cvs/cvsweb.cgi/ocs2/templates/trackDirector/submission/management.tpl.diff?r1=1.7;r2=1.8. (The rest of the patch does not apply.)

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

Re: Submission Type not Displayed on Director's Pages

Postby tshore » Sun Dec 23, 2007 5:10 am

I applied the patch, but I still don't see paperType displayed anywhere on the director's pages.
tshore
 
Posts: 266
Joined: Fri Nov 18, 2005 12:48 pm
Location: Hamilton, Ontario

Re: Submission Type not Displayed on Director's Pages

Postby tshore » Sun Jan 20, 2008 6:03 am

Happy new year. This has slipped pretty far down on the forum page. I'm still looking for help with this.
tshore
 
Posts: 266
Joined: Fri Nov 18, 2005 12:48 pm
Location: Hamilton, Ontario

Re: Submission Type not Displayed on Director's Pages

Postby asmecher » Mon Jan 21, 2008 2:41 pm

Hi Trudie,

Try the patch at http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=3230 and let me know how it turns out. (Try applying it --dry-run first to make sure it'll work -- the patch is written against pre-2.1 CVS. It simply involves moving a line of code down, so should be easy to back-port manually if necessary.)

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

Re: Submission Type not Displayed on Director's Pages

Postby tshore » Mon Feb 11, 2008 6:37 am

I applied that patch, but I get this error:

Fatal error: Call to undefined method TrackDirectorSubmission::getTypeConst() in /1/var/www/html/IMRF/ocs/cache/t_compile/%%60^60D^60DAFB97%%management.tpl.php on line 34
tshore
 
Posts: 266
Joined: Fri Nov 18, 2005 12:48 pm
Location: Hamilton, Ontario

Re: Submission Type not Displayed on Director's Pages

Postby tshore » Mon Feb 11, 2008 6:59 am

Fixed the error - I just had to change getTypeConst() to getType()
tshore
 
Posts: 266
Joined: Fri Nov 18, 2005 12:48 pm
Location: Hamilton, Ontario


Return to OCS Technical Support

Who is online

Users browsing this forum: No registered users and 1 guest