Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
4 Odpowiedzi
8108 Widoki

Hi,

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

How can I do it?

Best regards

Awatar
Odrzuć

Right click on your mouse :-)

Not every user might like it this way.

Autor Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

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>

Awatar
Odrzuć

Thanks!! This helped me creating new menuitems

Powiązane posty Odpowiedzi Widoki Czynność
5
sie 25
4800
0
sie 25
209
2
sie 25
1486
2
sie 25
717
5
sie 25
10181