Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
4 Risposte
13322 Visualizzazioni

My Code is:

***********

<!-- Main Menu  -->
        <record id="menu_dharma_resources" model="website.menu">
            <field name="name">Dharma Resources</field>
            <field name="url">/dharma_resources</field>
            <field name="parent_id" ref="website.main_menu"/>
            <field name="sequence" type="int">50</field>
        </record>

                        <!-- Sub Menus  -->
                                <record id="menu_prayerandsutra" model="website.menu">
                                    <field name="name">Prayer and Sutra</field>
                                    <field name="url">/serving_humanity</field>
                                    <field name="parent_id" ref="skit_website_homepage.menu_dharma_resources"/>
                                    <field name="sequence" type="int">10</field>
                                </record>

                                                <!-- Inner sub menus  -->
                                                        <record id="menu_daily_prayers" model="website.menu">
                                                            <field name="name">Daily  Prayers</field>
                                                            <field name="url">/daily_prayers</field>
                                                            <field name="parent_id" ref="skit_website_homepage.menu_prayerandsutra"/>
                                                            <field name="sequence" type="int">10</field>
                                                        </record>


My Doubts:

**********

1. Main Menu Created correctly in nav bar

2. Sub-Menu also created at the related main menu... but inner sub menu only not created that (same as created for menuitem, but not shown in the header nav bar).


How to solve this issue....


Thanks & Regards By,

Mohan Janakiraman

SrikeshInfotech

Avatar
Abbandona

I think only two level is allowed in website.menu model

I believe that more than 2 levels is not efficient (from a marketing stand point). Odoo stands to this. You better have to conceive your pages differently using the editing tools in order to split the page where your various concepts will be available

Risposta migliore
.dropdown:hover>.dropdown-menu {
    display: block;
}
Add this CSS, It's 100% work. 


Avatar
Abbandona

can you explain a bit sir, I really need this feature

Risposta migliore

Hello Mohan,
We hope this will help you to resolve your problem.

https://apps.odoo.com/apps/modules/13.0/website_multi_menu_submenu_oin/

Thank you.
Skype: live:info_850626 OR (info@odooitnow.com)

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
ago 21
1263
1
apr 20
8709
1
mag 25
10250
1
apr 24
2562
0
mar 24
1725