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

Hi,

I have set-up multiwebsite in Odoo v12 CE. But the footer seems to be shared for all website's. Is there way to customize this?

Kind regards,

Bastiaan

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

I am suggest you to customise footer template and, in that you can check which website currently running,

Let's say:

Website-1

Website-2

currently Website-1 is running

you can check in footer template, there is a default variable accessible in qweb called website, based on that you can do this.

Let's say you have two footer template then

<t t-if="website.name == 'Website-1' ">

<t t-call="footer_template_1"/>

</t>

<t t-if="website.name == 'Website-2' ">

<t t-call="footer_template_2"/>

</t>

I hope it will helpful for you

Thanks and regards

Haresh Kansara

อวตาร
ละทิ้ง
ผู้เขียน

Hi Haresh, thank you for this information! I'll try! :-)

คำตอบที่ดีที่สุด

Hello Bastiaan,

Yes, you can customize the footer according to the website. Odoo Multi Website offers the functionality of installing a theme-based application website wise that lets you set footers according to a website. Different themes have different footer designs that will apply website-wise.


Note: Odoo identify the theme-based application by module name prefix 'theme_'.

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

So let say I want my 2 websites to run the same theme but different footer, then I should clone the theme?

อวตาร
ละทิ้ง

Which theme are you using?

ผู้เขียน

Hi Dharmeh, i'm using the out-the-box standard theme.

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มี.ค. 19
3353
Footer section size แก้ไขแล้ว
2
พ.ย. 16
5926
1
มี.ค. 15
4190
3
มิ.ย. 24
2392
6
มิ.ย. 24
8553