Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
12777 Vues

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.

Avatar
Ignorer
Meilleure réponse

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.

Avatar
Ignorer
Publications associées Réponses Vues Activité
1
juil. 22
6309
4
août 15
4214
0
mars 15
4175
2
sept. 23
9828
1
juin 16
3889