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

<template id = "kwonboard_onboarding"> 

<t t-call="website.layout">


<xpath expr="//header" position="replace">

...

</xpath>

</t>

</template>


This code is not working. If you have any suggestion then do suggest.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi Surya,

No need to replace using xpath, you just add your header using <header></header> and <footer></footer> it will automatic replace base header footer code. If you want to use your custom header-footer then no need to call website.layout.

Hope it will helpful for you.

Thanks and regards

Haresh Kansara

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ม.ค. 24
39
4
มิ.ย. 23
3991
Change existing xpath expression in Odoo แก้ไขแล้ว
1
พ.ย. 18
8963
1
ก.ค. 18
8102
XPath Check if element exist แก้ไขแล้ว
1
ส.ค. 16
10529