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

Hi,

how can I change for instance the layout of a specific form, let's say the products' form. I would like to add some more fields, which are relevant to our company.

Your answer would be highly appreciated.

Thanks.

頭像
捨棄
最佳答案

You need to add the new fields to the model, and then to the form. The non-technical solution (without writing a module yourself) is:

  1. In Settings, go to Technical -> Database Structure, find the model to change and edit it, then add the fields extra you need.
  2. In Settings, go to Technical -> User Interface, find the form and edit it's Architecture text. Look for tags <field> to choose a place to insert your new fields. A field can be added to a form by inserting a line such as <field name="my_field_name"/> next to other field tags.

You can find more details in this answer.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
7月 22
6308
4
8月 15
4213
0
3月 15
4174
2
9月 23
9828
1
6月 16
3889