跳至內容
選單
此問題已被標幟
4 回覆
7966 瀏覽次數

Hi,

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

How can I do it?

Best regards

頭像
捨棄

Right click on your mouse :-)

Not every user might like it this way.

作者 最佳答案

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

頭像
捨棄
最佳答案

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>

頭像
捨棄

Thanks!! This helped me creating new menuitems

相關帖文 回覆 瀏覽次數 活動
5
8月 25
9762
2
7月 25
925
4
6月 25
1038
1
6月 25
1345
1
5月 25
1294