Hi dear Primefaces Team
I bought the Fraya Theme last autumn, and i am very happy with it. I save the config Settings in a Backing Bean with Values stored to the User in a DB. It works perfect. I now tried to save the state of the Sidebar Pin the same way. But no luck for now.
I am looking vor an easy way to save the Sidebar Pin State in a Backing Bean. Can you give me a Hint?
For me the best option would be to have the Sidebar Pin clicked like another layout like (layout-horizontal / layout-sidebar / layout-slim) -> layout-side-pinned
Can you help me to reach my Goal?
Best Regards
Daniel
Sidebar-Pin state persisted
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
Hi,
Please do this change in template.xhtml on line 24. So the line is:
and please add "layout-static" to end of line. Like this:
Best Regards,
Please do this change in template.xhtml on line 24. So the line is:
Code: Select all
<div class="layout-wrapper layout-topbar-#{guestPreferences.topbarTheme} layout-menu-#{guestPreferences.menuTheme} #{guestPreferences.menuMode}" >
Code: Select all
<div class="layout-wrapper layout-topbar-#{guestPreferences.topbarTheme} layout-menu-#{guestPreferences.menuTheme} #{guestPreferences.menuMode} layout-static" >
-
- Information
-
Who is online
Users browsing this forum: No registered users and 14 guests