Portal Version: 8.0.6

Is it somehow possible to configure the portal sidebar to be uncollapsed by default?

Portal Sidebar uncollapsed

asked 21.07 at 08:28

fcosti's gravatar image

fcosti
314
accept rate: 0%


Hi @fcosti

That configuration is not available in Portal.

link

answered 21.07 at 22:38

lttung's gravatar image

lttung
76246
accept rate: 40%

edited 21.07 at 23:01

Hi @lttung

Thanks for the answer. Is there another possibility to achieve this behavior with custom code or anything similar?

(22.07 at 03:36) fcosti fcosti's gravatar image
1

Hi @fcosti You could add class layout-wrapper-static to menu in BasicTemplate.xhtml (as https://primefaces.org/serenity/docs.xhtml)

  <div class="layout-wrapper js-layout-wrapper #{guestPreferences.orientationRTL ? 'layout-rtl' : ''} #{showMainArea eq true ? '' : 'u-invisibility'}">

change to

  <div class="layout-wrapper layout-wrapper-static js-layout-wrapper #{guestPreferences.orientationRTL ? 'layout-rtl' : ''} #{showMainArea eq true ? '' : 'u-invisibility'}">
(22.07 at 05:04) lttung lttung's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×15

Asked: 21.07 at 08:28

Seen: 194 times

Last updated: 22.07 at 05:04