Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
4 Respostas
7990 Visualizações

Hi,

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

How can I do it?

Best regards

Avatar
Cancelar

Right click on your mouse :-)

Not every user might like it this way.

Autor Melhor resposta

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
Cancelar
Melhor resposta

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
Cancelar

Thanks!! This helped me creating new menuitems

Publicações relacionadas Respostas Visualizações Atividade
5
ago. 25
9811
2
jul. 25
952
4
jun. 25
1080
1
jun. 25
1402
1
mai. 25
1320