Right sidebar missing

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.
Posts: 16
Joined: Fri Oct 24, 2008 12:37 pm

Right sidebar missing

Postby ignacio2008 » Wed Feb 27, 2013 10:01 am

Dear all,
I have a problem with my e-journal. It uses OJS (I could no update the software as it would change the journal design we had paid for) and suddenly the right sidebar is missing. So it does not show the right sidebar content: navigation block, user block, information for readers, authors and libraries...
Could anybody tell me how to solve this problem?
Thank you very much in advance and best regards

Posts: 28
Joined: Wed Jul 22, 2009 12:50 pm
Location: Franca - sp, brazil

Re: Right sidebar missing

Postby crlsgms » Mon Mar 11, 2013 11:32 am

I have this same issue. Iv updated from 2.2.2 to 2.4.2 via php upgrade.php update command on the debian installation via apt packages.

This ojs installation was before in another server, running freebsd and a bunch of outdated software (mysql, php, apache and so on), this is a fresh install.

after migrating the files and the db to the new server, patch and update went fine, but now i have no sidebar.
is there a way to troubleshoot this?

Posts: 55
Joined: Wed Nov 25, 2009 12:23 pm

Re: Right sidebar missing

Postby madriano » Tue May 28, 2013 7:28 am

I have the same problem... but only in migration on server (same version of OJS, php and apache version updated)...

The system is functional, but lateral menu disappeared...

Posts: 1
Joined: Thu Feb 12, 2015 12:40 pm

Re: Right sidebar missing

Postby fagner » Thu Feb 12, 2015 12:48 pm

Hi! I solved this problem inserting this code in classes/template/TemplateManager.inc.php on method TemplateManager after the definition of the journals' variables. (after the line 94).

Code: Select all

// Make lists of the sidebar blocks available.
$leftBlockPlugins = $disabledBlockPlugins = $rightBlockPlugins = array();
$plugins =& PluginRegistry::loadCategory('blocks');
    foreach ($plugins as $key => $junk) {
   if (!$plugins[$key]->getEnabled() || $plugins[$key]->getBlockContext() == '') {
      if (count(array_intersect($plugins[$key]->getSupportedContexts(), array(BLOCK_CONTEXT_LEFT_SIDEBAR, BLOCK_CONTEXT_RIGHT_SIDEBAR))) > 0) $disabledBlockPlugins[] =& $plugins[$key];
      } else switch ($plugins[$key]->getBlockContext()) {
            $leftBlockPlugins[] =& $plugins[$key];
            $rightBlockPlugins[] =& $plugins[$key];
    $this->assign('leftBlockPlugins', $leftBlockPlugins);
    $this->assign('rightBlockPlugins', $rightBlockPlugins);

Return to “OJS Technical Support”

Who is online

Users browsing this forum: No registered users and 1 guest