Hi team
How to display sidebar menu in webpage, it doesn’t show on website?
On website
hello
have you enabled “show sidebar” in your web page doctype ?
Yes, I did it
I ticked show sidebar but it not show my sidebar item
did you clear cache ? Or Reload page ?
There are some issues with sidebar in v14:
I did it. thank you !
thank you!
@Thanh_Binh let us know what was your solution , in-case there are others who may need to know , thanks
I added the sidebar code to web_sidebar.html because my web_sidebar.html is empty.
Hi sir,
Can you show me the code of your web_sidebar file?
Thank you.
Write this code in the same py name file of your html file :
eg. hello.html so write in hello.py
import frappe
import frappe.www.list
from frappe import _
no_cache = 1
def get_context(context):
context.show_sidebar = True
Do this context.show_sidebar = True