We are moving to Git Issues for bug tracking in future releases. During transition, content will be in both tools. If you'd like to file a new bug, please create an issue.

Bug 5430 - Additional Content information not being listed consistently
Additional Content information not being listed consistently
Status: NEW
Product: OCS
Classification: Unclassified
Component: User Interface
PC Mac OS X 10.3
: P5 normal
Assigned To: PKP Support
Depends on:
  Show dependency treegraph
Reported: 2010-05-12 10:33 PDT by James MacGregor
Modified: 2012-09-24 09:47 PDT (History)
3 users (show)

See Also:
Version Reported In:
Also Affects: OCS 2.3.3


Note You need to log in before you can comment on or make changes to this bug.
Description James MacGregor 2010-05-12 10:33:16 PDT
Information added to Website Management Setup Step 2.2: Additional Content should be displayed on the conference-level home page, but it's only displayed on the scheduled conference-level. Any content added there won't display, eg. on 


... but will display on 


The Homepage Image is displayed consistently on both pages, incidentally.
Comment 1 Trudy A. Shore 2010-09-23 21:57:11 PDT
I was hoping that this would be fixed in 2.3.3.
Comment 2 Trudy A. Shore 2010-09-28 21:18:52 PDT
It doesn't make sense that additionalHomeContent displays only if the url contains schedConf.  


should be identical.  2011 is the schedConf path, so, with or without the schedConf in the URL, they should both display the homepage for the scheduled conference.

imrf is the conference path, so take away the 2011 and you should get the conference homepage.

I also had a problem with the schedConf vs. no schedConf in the url last year.  I think it was messing up the display of sponsors that I had added to the index page.

I compared the smarty debug console output and the only differences are:

1. {$additionalHomeContent} is missing from the non-schedConf page

2. schedConf page uses homeHeaderLogoImage_en_US.gif and homeHeaderTitleImage_en_US.gif
    non-schedConf page uses pageHeaderLogoImage_en_US.gif and pageHeaderTitleImage_en_US.gif
    but they should both be using homeHeaderLogoImage_en_US.gif and homeHeaderTitleImage_en_US.gif (I think).
Comment 3 Trudy A. Shore 2010-09-28 22:47:26 PDT
Until you guys make a patch, I tacked '/schedConf' onto the end of the conference and scheduled conference level redirects.

In pages/conference/ConferenceHandler.inc.php:

replace line 61
Request::redirect(null, $singleSchedConf->getPath());
Request::redirect(null, $singleSchedConf->getPath(), 'schedConf');

In pages/index/IndexHandler.inc.php:

replace line 51
if ($redirectSchedConf) Request::redirect($conference->getPath(), $redirectSchedConf->getPath()');
if ($redirectSchedConf) Request::redirect($conference->getPath(), $redirectSchedConf->getPath(), 'schedConf');
Comment 4 Trudy A. Shore 2010-10-01 12:30:04 PDT
Ok, I give up.  I have undone the changes I suggested below, because I was going to have to do more - in multiple places.  Instead, I just forced the "schedConf" to appear in the URL using .htaccess.  This way I get my additionalHomeContent every time the scheduled conference homepage loads, regardless of which link was used to get there.

I would still like to know why the two URLs give slightly different pages and if it is considered to be a bug.

Thank you.
Comment 5 Alec Smecher 2010-10-04 14:32:55 PDT
Yes, this is still considered a bug.
Comment 6 Colin Prince 2011-03-24 11:12:01 PDT
You can add

$templateMgr->assign('additionalHomeContent', $conference->getLocalizedSetting('additionalHomeContent'));

at around line 63 of