<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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
<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
Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!
RegistrierenVerknüpfte Beiträge | Antworten | Ansichten | Aktivität | |
---|---|---|---|---|
|
0
Jan. 24
|
39 | ||
|
4
Juni 23
|
3341 | ||
|
1
Nov. 18
|
8550 | ||
|
1
Juli 18
|
7793 | ||
XPath Check if element exist
Gelöst
|
|
1
Aug. 16
|
10097 |