Jump to content

Display Sidebar everywhere?


Colombia Humana

Recommended Posts

Posted

Yes, that's possible. You just need to configure it for each view (forum view, topic view, etc) using the Block Manager.

There are a few exceptions such as profile pages, but most pages allow the sidebar.

Posted

Hi @ehren.

In profile pages, for example, I believe I'd have to modify the templates manually? If so, would copying the following code be sufficient?

{template="sidebar" if="theme.sidebar_position == 'left'" app="core" group="global" params="'left'"}

Regards

Posted

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?

Archived

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

  • Recently Browsing   0 members

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