How to hide sidebar in list view

I want to hide left bar only in listing page …not for all pages …

Hi guys, In my case i need to display Toggle Sidebar in default view.

You need to hide it by default in list view only and if you want to show it click on toggle sidebar to show it ? Or you need it to hide it in list view and not show all times

Hi @abdo-evs.sa,

The above screenshot shows left side modules, but once i click on toggle side bar icon before the home it will display like below mentioned screenshot and i need like this…

Regards
Nivedha

Hi all, Any suggestion for the above case.

Any Solutions?

1 Like

Frappe and ERPNext are VERY good… However, it needs attention in some BASIC aspects of customization, such as:

  • List Sidebar (eg: Show/Hide from certain (or all) pages (not by the user but by dedault), remove/add options)
  • Home Menubar (sidebar from workspaces) (eg: Create simple links to LISTS (I mean, just GO TO some DOCTYPE LIST (or link)

Please developers, take a look for those simple things to be a PERFECT framework

2 Likes

Hi @Nivedha Did you find any solution for this?
If yes, please share
I also want to implement this.

you can change this in “frappe.local/app/role/{role_name}

1 Like

this doesnt work

Hi @519_Hamza_Habeeb:

Check other roles for this user.

All
Desk User
Guest

And disable Side Bar.
All the users have this roles by default.

Hope this helps.

i created a custom role for a user and assigned it to him. that user is assigned to only one role. still doesnt work

This roles are not visible from User doctype, but are applied by default.
Go to Roles and disable this option for the roles mentioned above.

@avc can I disable sidebar in doctype_name.js and/or in doctype_name_list.js for all people, but for selected doctype?


i did that, wont work

Did also it on roles “All” and “Guest”?

it works with changing “All” role but only on form level and list level. I want to hide the desk sidebar.

1 Like

Update as at version 15. I don’t think there is an “out of the box” way of hiding the main left-hand desk menu?

Various other ui elements can be hidden e.g. the left hand menu that appears on list views, the ‘comments’ section that appears on doctype forms etc. The settings in the screenshot that @519_Hamza_Habeeb shared need to be set for all roles the user has, including the “all” role.

can’t find it
ERPNext: v15.43.0 (version-15)

Frappe Framework: v15.48.0 (version-15)