Changes

Line 4: Line 4:  
{{TemplateDocDev}}
 
{{TemplateDocDev}}
 
{{TemplateDocUtil}}
 
{{TemplateDocUtil}}
= Informations =
+
=<small>Informations</small>=
 
{{TemplateModuleInfo
 
{{TemplateModuleInfo
 
|modulename=CustomizeForms
 
|modulename=CustomizeForms
Line 14: Line 14:  
|note=Module CustomizeForms
 
|note=Module CustomizeForms
 
}}
 
}}
= Logo =
+
=<small>Logo</small>=
 
[[Image:Logotipo500.jpg|200px|Logo]]
 
[[Image:Logotipo500.jpg|200px|Logo]]
= Features =
+
=<small>Features</small>=
   −
'''Customize Forms'''  allows you to create  new features in 24 dolibarr forms ( + 430 standard fields and + all extra fields)
+
'''Customize Forms'''  allows you to create  new features in 25 dolibarr create and edit forms ( + 450 standard fields and + all extra fields)
   −
1- Hide fields;
+
1- Hide fields in Dolibarr forms;
    
2- Make fields as mandatory (Javascript);
 
2- Make fields as mandatory (Javascript);
   −
3- Disable fields;
+
3- Disable fields in Dolibarr forms;
   −
4- Create Custom Header and Footer;
+
4- Create Custom Header and Footer in Dolibarr forms;
   −
5- Define default values for fields (texts, lists, html, selection and categories);
+
5- Define default values for fields in Dolibarr forms (texts, lists, html, selection and categories);
   −
6- Create tooltip with instructions on the fields;
+
6- Create tooltip with instructions on the fields in Dolibarr forms;
   −
7- Create auxiliary lists of preformatted texts and phrases to easily insert into the fields (text, html);
+
7- Create auxiliary lists of preformatted texts and phrases to easily insert into the fields in Dolibarr forms(text, html);
    
8- Change the presented names of the fields without changing the translations;
 
8- Change the presented names of the fields without changing the translations;
    +
9- Define future and past dates in all date fields, just put the default value the text now(0) for current day,  now(+5) for 5 days later, or now(-5) for 5 days before.
   −
= Install =
+
10- Leave only pre-defined products and services on the product insertion screen in the budget, order and purchase and sales invoice forms.
 +
 
 +
=<small>Install</small>=
 
1- To Install the module, simply unzip the files and place in the '''custom''' folder of the Dolibarr directory and then '''Activate''' the module.
 
1- To Install the module, simply unzip the files and place in the '''custom''' folder of the Dolibarr directory and then '''Activate''' the module.
   Line 43: Line 46:     
3- Click on the '''Customize Forms''' link and you will be taken to the system home page.
 
3- Click on the '''Customize Forms''' link and you will be taken to the system home page.
= Screens =
     −
'''The CustomizeForms Module is very simple to configure, has only 3 control pages:'''
+
=<small>Permissions:</small>=
== Screen 1==
+
1- Initial system permissions are set with access only to the System Administrator;
'''Home Page - List Forms:'''
     −
[[Image:Pagina1.png|800px|HomePage]]
+
2- For new users, the administrator can configure read, edit, and delete permissions on the Dolibarr user or group permissions tab.
 +
 
 +
=<small>Pages</small>=
   −
* The Home Page lists all 24 Dolibarr forms that can be configured by Customizeforms.
+
The '''Customize Forms''' Module is very simple to configure, has only 3 control pages:
* The Qty column tells you how many fields can be set on each form.
  −
* To '''Customize''' a Form, just click the pencil on the right form.
      +
==<small>Page 1 - Home Page - List Forms</small>==
   −
== Screen 2==
+
*The Home Page lists all 24 Dolibarr forms that can be configured by Customizeforms.
'''Page Edit Form - List All Form Fields:'''
+
*The Qty column tells you how many fields can be set on each form.
 +
*To '''Customize''' a Form, just click the pencil on the right form.
   −
[[Image:Pagina2.png|800px|Form]]
+
[[Image:Pagina1.png|800px|HomePage]]
   −
* In this example, we click on the '''Home Page''' in the '''New Commercial Proposal - Customer''' form.
+
==<small>Page 2 - List All Form Fields to Customize</small>==
* This page only displays fields with default values that have already been set. All fields of the form are displayed on this page.
+
 +
*In this example, we click on the '''Home Page''' in the '''New Commercial Proposal - Customer''' form.
 +
*This page only displays fields with default values that have already been set. All fields of the form are displayed on this page.
    
1 - '''Extrafields''' that were created for this module will be inserted automatically when you open the page.
 
1 - '''Extrafields''' that were created for this module will be inserted automatically when you open the page.
Line 68: Line 73:  
2 - The '''Header''' and '''footer''' fields are options that can be added to the form.
 
2 - The '''Header''' and '''footer''' fields are options that can be added to the form.
   −
'''Presentation: '''
+
[[Image:Pagina2.png|800px|Form]]
 +
 
 +
'''Presentation the table: '''
 
The fields are listed in the columns as follows:
 
The fields are listed in the columns as follows:
 +
 
*'''Name''': Field Name
 
*'''Name''': Field Name
 
*'''Situation''': Current field status - Can be Visible, Invisible, Disabled, or Required.
 
*'''Situation''': Current field status - Can be Visible, Invisible, Disabled, or Required.
Line 75: Line 83:  
*'''Tag''': New Name Defined for Field
 
*'''Tag''': New Name Defined for Field
 
*'''Auxiliary List''': List of Text separated by line breaks that can be added in any text field or textarea.
 
*'''Auxiliary List''': List of Text separated by line breaks that can be added in any text field or textarea.
*'''Help Text''': Help text that appears when you approach the mouse.  
+
*'''Help Text''': Help text that appears when you approach the mouse.
 +
 
 +
==<small>Page 3 - Customizing a form field</small>==
 +
 +
In this example, we click in the '''New Commercial Proposal - Customer''' form (Page 1) and after we click on the '''Customer''' field (Page 2).
 +
 
 +
===To apply module functionality to the form example:===
   −
== Screen 3==
+
*'''To Hide fields:'''
'''Page Edit Field:'''
+
**Click in the combo box '''Define Visibility and Mandatory''' and select '''Invisible''' option (The entire line will be invisible);
   −
[[Image:Pagina3.png|800px|CustomizeForms]]
+
*'''To Make fields as mandatory''' (Javascript):
 +
**Click in the combo box '''Define Visibility and Mandatory'''  and select '''Required''' option;
 +
 
 +
*'''To Disable field:'''
 +
**Click in the combo box '''Define Visibility and Mandatory'''  and select '''Disable''' option;
 +
 
 +
*'''To Define default values''' for field (texts, lists, html, selection and categories):
 +
**Click in the combo box '''Set Default Value'''  and select the desired option (Dolibarr options to combo box and checkbox, other field type only write the text to default value);
   −
In this example, we click in the New Commercial Proposal - Customer form on the Customer field.
+
*'''To Change the presented name of the field''' without changing the translations:
 +
**Digit new name text to '''Modify Field Name;'''
   −
* '''To Hide fields:
+
*'''To Create auxiliary lists''' of preformatted texts and phrases to easily insert into the fields (text, html):
** Click in the combo box '''Define Visibility and Mandatory'''  and select '''Invisible''' option
+
**Digit  List of Text separated by line breaks that can be added in any text field or textarea in '''Create Auxiliary List to insert into text or HTML fields''';
   −
* '''To Make fields as mandatory''' (Javascript);
+
*'''To Create tooltip''' with instructions on the fields:
** Click in the combo box '''Define Visibility and Mandatory''' and select '''Required''' option
+
**Digit html text to '''Create Tooltip with Help Info;'''  
 +
 +
*'''To put the date (future and past) in the date fields''' :
 +
**It is possible to define '''future and past dates''' in all date fields, just put the text '''now(0)''' for the current day, '''now(+5)''' for 5 days later, or '''now(-5)''' for 5 days previous in the default value, for example;
   −
* '''To Disable field''';
  −
** Click in the combo box '''Define Visibility and Mandatory'''  and select '''Disable''' option
     −
* '''To Define default values''' for field (texts, lists, html, selection and categories);
+
[[Image:Pagina3.png|800px|CustomizeForms]]
** Click in the combo box '''Set Default Value'''  and select the desired option (Dolibarr options to combo box and checkbox, other field type only digit text to default value)
     −
* '''To Change the presented name of the field''' without changing the translations;
+
===To create Headers and Footers on a form:===
** Digit new name text to '''Modify Field Name'''  
     −
* '''To Create auxiliary lists''' of preformatted texts and phrases to easily insert into the fields (text, html);
+
1- Choose the form on the home page of the module (Page 1);
** Digit  List of Text separated by line breaks that can be added in any text field or textarea in '''Create Auxiliary List to insert into text or HTML fields'''  
     −
* '''To Create tooltip''' with instructions on the fields;
+
2- In the chosen form, click in the Header or Footer field (Page 2);
** Digit html text to '''Create Tooltip with Help Info'''  
      +
3- In Page 3:
   −
= Prerequisites =  
+
*Click in the combo box '''Define Visibility and Mandatory'''  and select '''Visible''' option;
 +
*Digit new name text to '''Modify Field Name''', this field is a name of Header/Footer in the left table form;
 +
*Digit html text  in the field '''Set Default Value''' , this field is a content of Header/Footer in the right table form;
 +
 
 +
=<small>Prerequisites</small>=  
    
Partial Features - Dolibarr ≥ 5.0.3
 
Partial Features - Dolibarr ≥ 5.0.3
    
All Features - Dolibarr ≥ 9.0.3
 
All Features - Dolibarr ≥ 9.0.3
 +
=<small>'''Demo'''</small>=
 +
 +
View DEMO:[./Https://www.trucolivre.com.br//dolibarrdemo1/ https://www.trucolivre.com.br/dolibarrdemo1/] user:demo passw:demo
    +
=<small>Buy</small>=
 +
On https://www.dolistore.com/en/modules/1133-Customize-Forms.html
   −
= Demo =  
+
=<small>Video</small>=  
   −
View DEMO:https://www.trucolivre.com.br/dolibarr/ user:demo passw:demo
+
View Video: https://www.youtube.com/watch?v=wTR9DMnpIck
 +
=<small>'''Outros Módulos'''</small>=
   −
= Video =  
+
====Customize Interface====
 +
https://wiki.dolibarr.org/index.php/Module_CustomizeInterface
   −
View Video: https://www.youtube.com/watch?v=wTR9DMnpIck
+
====Categorize All====
 +
https://wiki.dolibarr.org/index.php/Module_CategorizeAll
 +
====PIX Brasil====
 +
https://wiki.dolibarr.org/index.php?title=Module_PIXBrasil
200

edits