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

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. Please note that this FAQ is OJS-centric, but most issues are applicable to both platforms.

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 OCS Conference Support and Discussion subforum; if you have a development question, try the OCS Development subforum.

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: 174
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: 4190
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: 174
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: 8905
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