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

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
lip 22
6302
4
sie 15
4202
0
mar 15
4169
2
wrz 23
9819
1
cze 16
3881