Jump to content

Display Sidebar everywhere?


Colombia Humana

Recommended Posts

Hi there,

From globalTemplate I managed to display it properly (and custom css), but certain pages don't show the sidebar contents.

Inside sidebar I found that by removing the whole conditional:

{{if (isset( \IPS\Output::i()->sidebar['enabled'] ) and \IPS\Output::i()->sidebar['enabled'] ) && ( ( isset( \IPS\Output::i()->sidebar['contextual'] ) && trim( \IPS\Output::i()->sidebar['contextual'] ) !== '' ) || ( isset( \IPS\Output::i()->sidebar['widgets']['sidebar'] ) && count( \IPS\Output::i()->sidebar['widgets']['sidebar'] ) ) || ( \IPS\Dispatcher::i()->application instanceof \IPS\Application AND \IPS\Dispatcher::i()->application->canManageWidgets() ) || $adsForceSidebar )}}

Everything displays correctly in every page.

However, I don't think I should remove the whole conditional; but since I can't interpret it properly, I don't know what is the parameter that states its visibility...

Any advise?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...