Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3599 มุมมอง

Hi, I am new to odoo and I want to remove or disable the default website navbar in odoo14 when ever the user logged in.

Does anyone know the solution? 

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด
Certainly! If you prefer to use code to remove the default Odoo website navbar in Odoo 14, you can do so by creating a custom module and overriding the website template
อวตาร
ละทิ้ง

<odoo>
<template id="remove_default_navbar" inherit_id="website.layout" name="Remove Default Navbar">
<xpath expr="//nav[@class='navbar']" position="replace">
<!-- Add any desired custom content here -->
</xpath>
</template>
</odoo>

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
เม.ย. 23
6436
Can't edit web event page แก้ไขแล้ว
2
มิ.ย. 22
3433
1
เม.ย. 22
2299
0
ก.พ. 22
4600
1
ม.ค. 22
2267