User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:adminmanual:configeditor [2017/05/05 18:14]
joebordes
en:adminmanual:configeditor [2017/05/05 18:14] (current)
Line 47: Line 47:
 </​WRAP>​ </​WRAP>​
  
-===== Adding new variables ===== 
  
-To add a new variable to the list we must do three things: 
-  - add the variable to the //​config.inc.php//​ file (and also //​config.templat.php//​ if we plan to distribute the application as an installable with the new variable) 
-  - add the variable to //​modules/​ConfigEditor/​config.php//​ in the array element //​$__ConfigEditor_Config['​allow.editing.variables'​]//​ 
-  - add the translations to the //​modules/​ConfigEditor/​language//​ files