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

Hi,

I want to open in new tab when I click Website menu on backend.

How can I do it?

Best regards

Avatar
Abbandona

Right click on your mouse :-)

Not every user might like it this way.

Autore Risposta migliore

Hi,

Settings>Technical>User Interface>Menu Items and search Website (ID 400)

Edit>Action>Open:Referenced Document>Action Target>New Window

And then you can open this link with LEFT click... :))

Best regards

Avatar
Abbandona
Risposta migliore

Hi,

Its late but may be helpful for some others.

<record id="github_link" model="website.menu">

    <field name="name">Source Code</field>

    <field name="url">https://github.com</field>

    <field name="parent_id" ref="website.main_menu" />

    <field name="sequence" type="int">101</field>

    <field name="new_window" eval="True"></field>

</record>

Avatar
Abbandona

Thanks!! This helped me creating new menuitems

Post correlati Risposte Visualizzazioni Attività
5
ago 25
9742
2
lug 25
906
4
giu 25
1022
1
giu 25
1336
1
mag 25
1286