<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.
<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
| 関連投稿 | 返信 | ビュー | 活動 | |
|---|---|---|---|---|
|
0
1月 24
|
39 | |||
|
4
6月 23
|
7182 | |||
|
0
1月 19
|
4810 | |||
|
1
11月 18
|
11585 | |||
|
1
7月 18
|
10100 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.