Pārlūkot izejas kodu

Fix position of modules

Laurent Destailleur 6 gadi atpakaļ
vecāks
revīzija
43fc0466e5

+ 1 - 0
htdocs/core/modules/modApi.class.php

@@ -53,6 +53,7 @@ class modApi extends DolibarrModules
 		// Family can be 'crm','financial','hr','projects','products','ecm','technic','other'
 		// It is used to group modules in module setup page
 		$this->family = "interface";
+		$this->module_position = '24';
 		// Module label (no space allowed), used if translation string 'ModuleXXXName' not found (where XXX is value of numeric property 'numero' of module)
 		$this->name = preg_replace('/^mod/i', '', get_class($this));
 		// Module description, used if translation string 'ModuleXXXDesc' not found (where XXX is value of numeric property 'numero' of module)

+ 1 - 0
htdocs/core/modules/modWebServices.class.php

@@ -41,6 +41,7 @@ class modWebServices extends DolibarrModules
         $this->numero = 2600;
 
         $this->family = "interface";
+        $this->module_position = '25';
         // Module label (no space allowed), used if translation string 'ModuleXXXName' not found (where XXX is value of numeric property 'numero' of module)
         $this->name = preg_replace('/^mod/i', '', get_class($this));
         $this->description = "Enable the Dolibarr web services server";

+ 1 - 0
htdocs/core/modules/modWebServicesClient.class.php

@@ -41,6 +41,7 @@ class modWebServicesClient extends DolibarrModules
         $this->numero = 2660;
 
         $this->family = "interface";
+        $this->module_position = '26';
         // Module label (no space allowed), used if translation string 'ModuleXXXName' not found (where XXX is value of numeric property 'numero' of module)
         $this->name = preg_replace('/^mod/i', '', get_class($this));
         $this->description = "Enable the web service client to call external supplier web services";

+ 3 - 1
htdocs/webservices/README.md

@@ -3,11 +3,13 @@ API SOAP howto
 
 This directory contains files to make Dolibarr a server of SOAP Web Services.
 
+WARNING: It is highly recommended to use the REST APIs instead of SOAP APIs: You will find more API, faster and easier to use in the the module REST API than into this module. 
+
 
 Explore the api
 ---------------
 
-* To see all Webservices provided by Dolibarr, just call following Url:
+* To see all Webservices provided by Dolibarr, just call the following Url:
 http://mydomain.com/mydolibarr/webservices/admin/index.php