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

Hello,

I am currently working with Odoo 17 Community Edition and would like to customize the authentication page. Specifically, I want to add a description and a footer to the page. Could someone please provide detailed steps on how to achieve this?

Here is what I want to do:

  1. Add a custom description above the login form.
  2. Add a footer with some contact information and copyright text.

Thank you in advance for your assistance!

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

Hi,

1)If you need to make any customization above the login form, you can inherit the template login_layout and add the custom code in it.

eg:

<template id="new_login_layout_id" inherit_id="website.login_layout" name="New Template Name" priority="20">
<xpath expr="//div[hasclass('oe_website_login_container')" position="inside">
       // Add custom code
    </xpath>
</template>

2)

If you need to make any changes in the footer of the website , you can inherit the custom_layout and add your custom template

eg:

<template id="new_temp_id" name="New Template name" inherit_id="web.frontend_layout">
        <xpath expr="//footer" position="replace">

             // Add your custom code

        </xpath>

 </template




Hope it helps

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ส.ค. 16
5217
2
มิ.ย. 25
1605
0
ส.ค. 24
1974
1
ส.ค. 24
1631
2
ส.ค. 24
2521