OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Program of conference does not appear

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.

Program of conference does not appear

Postby mendesrocha » Mon Jun 02, 2008 8:34 am

Hello,

We are finally starting to use the OCS 2.1 to manage a conference. The Conference Manager inserted the information for the Program Conference, he puts text in the field and upload a doc file, but it does not appear when someone try to visualize it in the main page.

I found in the forum for any issue simliar, but I didnt find anything. Anyone know why this is happen?
mendesrocha
 
Posts: 178
Joined: Mon Nov 05, 2007 11:10 am
Location: Brazil

Re: Program of conference does not appear

Postby jmacgreg » Mon Jun 02, 2008 12:29 pm

Hi Renato,

Thanks for this. I've verified the behaviour and have posted it as a bug, which is viewable here: http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=3540. You can add yourself to the Cc list there, and you will be notified with any progression.

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

Re: Program of conference does not appear

Postby mendesrocha » Thu Jun 05, 2008 8:55 pm

James,

OK, thanks for your answer.

I add my email in CC list and we are waiting the correction patch.

Thanks again,
Renato
mendesrocha
 
Posts: 178
Joined: Mon Nov 05, 2007 11:10 am
Location: Brazil

Re: Program of conference does not appear

Postby spatialguru » Tue Jul 08, 2008 10:58 pm

Good news - I've got a fix!

I've updated the bug to, to include a patch to fix this. Easy fix, will summarise here...

Edit pages/schedConf/SchedConfHandler.inc.php

Find these "getLocalizedSetting" statements (around line 249, I think):
Code: Select all
 $templateMgr->assign('program', $schedConf->getLocalizedSetting('program'));
 $templateMgr->assign('programFileTitle', $schedConf->getLocalizedSetting('programFileTitle'));
 $templateMgr->assign('programFile', $schedConf->getLocalizedSetting('programFile'));


And change them to "getSetting" instead:
Code: Select all
 $templateMgr->assign('program', $schedConf->getSetting('program'));
 $templateMgr->assign('programFileTitle', $schedConf->getSetting('programFileTitle'));
 $templateMgr->assign('programFile', $schedConf->getSetting('programFile'));


I assume you could have maybe solved it another way - by adding a locale entry to the sched_conf_settings tables for the records where setting_name like '%program%'; But I never tried...

Hope it helps! I'm now happy with OCS 2.1 :-)

Tyler
spatialguru
 
Posts: 112
Joined: Mon Jun 25, 2007 1:23 pm
Location: British Columbia, Canada

Re: Program of conference does not appear

Postby asmecher » Wed Jul 09, 2008 9:42 am

Hi Tyler,

Thanks! This has already been fixed in CVS -- see http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=3640.

Regards,
Alec
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm


Return to OCS Technical Support

Who is online

Users browsing this forum: No registered users and 1 guest